Allow HTML in option info
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 Jun 2017 16:30:59 +0000 (16:30 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 Jun 2017 16:30:59 +0000 (16:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14658 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/options.php

index 06aab72d474335d8070531c51b57e01c5671bffb..fa18ccee7281059376c5bd6bdf4598d5c5a16919 100644 (file)
@@ -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;
     }
 
     /**