diff options
Diffstat (limited to 'views/default/output/text.php')
| -rw-r--r-- | views/default/output/text.php | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/views/default/output/text.php b/views/default/output/text.php index ca667f98a..5cbfc35b0 100644 --- a/views/default/output/text.php +++ b/views/default/output/text.php @@ -1,19 +1,12 @@ -<?php
-
- /**
- * Elgg text output
- * Displays some text that was input using a standard text field
- *
- * @package Elgg
- * @subpackage Core
+<?php +/** + * Elgg text output + * Displays some text that was input using a standard text field + * + * @package Elgg + * @subpackage Core + * + * @uses $vars['value'] The text to display + */ - * @author Curverider Ltd
- - * @link http://elgg.org/
- *
- * @uses $vars['text'] The text to display
- *
- */
-
- echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); // $vars['value'];
-?>
\ No newline at end of file +echo htmlspecialchars($vars['value'], ENT_QUOTES, 'UTF-8', false);
\ No newline at end of file |
