aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/default.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/default/input/default.php b/views/default/input/default.php
index 59ad357e7..050e3b765 100644
--- a/views/default/input/default.php
+++ b/views/default/input/default.php
@@ -50,9 +50,6 @@ $defaults = array(
$attributes = array_merge($defaults, $vars);
-$attributes['value'] = htmlspecialchars($attributes['value'], ENT_QUOTES, 'UTF-8');
-
-
//Build the input
$element = array();
@@ -61,11 +58,10 @@ foreach ($attributes as $attr => $val) {
if ($val === TRUE) {
$element[] = $attr;
} elseif ($val !== FALSE) {
- $val = addslashes($val);
$element[] = "$attr=\"$val\"";
}
}
$element[] = $js;
$element[] = "/>";
-echo implode(" ", $tag); \ No newline at end of file
+echo implode(" ", $element); \ No newline at end of file