diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
commit | 02d7167906b63d490db3b5c3848accc5235b220f (patch) | |
tree | 92323dec8d456fdc737ee3a74c48dedf4cb92bcd /lib/htmloutputter.php | |
parent | d260d841ebae71acf7bf726f52acaa6391ce1824 (diff) | |
parent | 60f737dc1eb2f126bae28ce095bc2d17a22bd7d9 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index f9245414f..7780b1c19 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -172,7 +172,7 @@ class HTMLOutputter extends XMLOutputter 'type' => 'text', 'id' => $id); if ($value) { - $attrs['value'] = htmlspecialchars($value); + $attrs['value'] = $value; } $this->element('input', $attrs); if ($instructions) { @@ -206,7 +206,7 @@ class HTMLOutputter extends XMLOutputter 'class' => 'checkbox', 'id' => $id); if ($value) { - $attrs['value'] = htmlspecialchars($value); + $attrs['value'] = $value; } if ($checked) { $attrs['checked'] = 'checked'; |