From 23a8968cad32a667af1689fe8d81be318b06fa55 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 23 Mar 2013 15:07:19 +0100 Subject: [PATCH] Add to docs that input will be HTML escaped Change-Id: Ie90a6bc29f54361ec74cbf54551266b94ce6061f --- includes/Xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Xml.php b/includes/Xml.php index 57a4fcf619..ee19dee906 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -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 -- 2.20.1