From: pdontthink Date: Sat, 3 Jun 2017 16:30:59 +0000 (+0000) Subject: Allow HTML in option info X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2d24b622c4c2e78a2e43ba1bed9877556de18de9;p=squirrelmail.git Allow HTML in option info git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14658 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/options.php b/functions/options.php index 06aab72d..fa18ccee 100644 --- a/functions/options.php +++ b/functions/options.php @@ -68,6 +68,7 @@ class SquirrelOption { * useful for indicating units, meanings of special values, etc. * @var string */ +//TODO: add trailing_text_small as has been done with 1.4.x var $trailing_text; /** * Text that overrides the "Yes" label for boolean @@ -485,7 +486,9 @@ class SquirrelOption { * @return string html formated output */ function createWidget_Info() { - return sq_htmlspecialchars($this->value); + // return sq_htmlspecialchars($this->value); + // like COMMENT, allow HTML here + return $this->value; } /**