summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-01 20:03:15 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-01 20:03:15 -0500
commit4e9c582e37e7652d4e2004474751633a5624114f (patch)
tree22b5f64fad8d3f4b44213eee1989b0d61a5017f4
parent6135920a7904882ce52301e422743cf2c8f24049 (diff)
Avoid double encoding in text editor
-rw-r--r--app/Helper/FormHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/FormHelper.php b/app/Helper/FormHelper.php
index f672ab1d..8c9ca332 100644
--- a/app/Helper/FormHelper.php
+++ b/app/Helper/FormHelper.php
@@ -213,7 +213,7 @@ class FormHelper extends Base
{
$params = array(
'name' => $name,
- 'text' => isset($values[$name]) ? $this->helper->text->e($values[$name]) : '',
+ 'text' => isset($values[$name]) ? $values[$name] : '',
'css' => $this->errorClass($errors, $name),
'required' => isset($attributes['required']) && $attributes['required'],
'tabindex' => isset($attributes['tabindex']) ? $attributes['tabindex'] : '-1',