diff options
Diffstat (limited to 'kohana/helpers')
-rw-r--r-- | kohana/helpers/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/helpers/html.php b/kohana/helpers/html.php index d1f09612..37f80ae3 100644 --- a/kohana/helpers/html.php +++ b/kohana/helpers/html.php @@ -419,7 +419,7 @@ class html_Core { $compiled = ''; foreach ($attrs as $key => $val) { - $compiled .= ' '.$key.'="'.$val.'"'; + $compiled .= ' '.$key.'="'.html::specialchars($val).'"'; } return $compiled; |