Reversion to the original state with the e method
This commit is contained in:
1 parent
b583044d36
commit
bc097b24e2
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -485,7 +485,7 @@ class FormBuilder
|
||||
// the element. Then we'll create the final textarea elements HTML for us.
|
||||
$options = $this->html->attributes($options);
|
||||
|
||||
return $this->toHtmlString('<textarea' . $options . '>' . $value. '</textarea>');
|
||||
return $this->toHtmlString('<textarea' . $options . '>' . e($value). '</textarea>');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -449,7 +449,7 @@ class HtmlBuilder
|
||||
}
|
||||
|
||||
if (! is_null($value)) {
|
||||
return $key . '="' . $value . '"';
|
||||
return $key . '="' . e($value) . '"';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user