From a12093614800cf427462d092d69702e47c9e6244 Mon Sep 17 00:00:00 2001 From: ali oygur Date: Mon, 8 Apr 2013 16:04:13 +0300 Subject: [PATCH] Unescape Html::button() value HTML::button() values escaping. that is contrary to the architecture of the html5. Maybe i want use dom element in button Example; Twitter bootstrap --- FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FormBuilder.php b/FormBuilder.php index 911cc3f..c6fb6c3 100644 --- a/FormBuilder.php +++ b/FormBuilder.php @@ -550,7 +550,7 @@ class FormBuilder { $options['type'] = 'button'; } - return 'html->attributes($options).'>'.e($value).''; + return 'html->attributes($options).'>'.$value.''; } /**