aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/text.php b/views/default/input/text.php
index 0da751942..4b040445a 100644
--- a/views/default/input/text.php
+++ b/views/default/input/text.php
@@ -19,4 +19,4 @@
?>
-<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="input-text"/> \ No newline at end of file
+<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value']); ?>" class="input-text"/> \ No newline at end of file