Add to docs that input will be HTML escaped
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 23 Mar 2013 14:07:19 +0000 (15:07 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 23 Mar 2013 14:07:19 +0000 (15:07 +0100)
Change-Id: Ie90a6bc29f54361ec74cbf54551266b94ce6061f

includes/Xml.php

index 57a4fcf..ee19dee 100644 (file)
@@ -460,7 +460,7 @@ class Xml {
 
        /**
         * Convenience function to build an HTML drop-down list item.
-        * @param string $text text for this item
+        * @param string $text text for this item. Will be HTML escaped
         * @param string $value form submission value; if empty, use text
         * @param $selected boolean: if true, will be the default selected item
         * @param array $attribs optional additional HTML attributes