Don't double escape in Form::option()
html->attributes() already does the escaping.
This commit is contained in:
1 parent
fb7693cf4b
commit
7c02a4f0fd
1 file changed
+1
-1
+1
-1
@@ -624,7 +624,7 @@ class FormBuilder {
|
|||||||
{
|
{
|
||||||
$selected = $this->getSelectedValue($value, $selected);
|
$selected = $this->getSelectedValue($value, $selected);
|
||||||
|
|
||||||
$options = ['value' => e($value), 'selected' => $selected];
|
$options = ['value' => $value, 'selected' => $selected];
|
||||||
|
|
||||||
return '<option' . $this->html->attributes($options) . '>' . e($display) . '</option>';
|
return '<option' . $this->html->attributes($options) . '>' . e($display) . '</option>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user