summaryrefslogtreecommitdiff
path: root/kohana/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/helpers')
-rw-r--r--kohana/helpers/html.php2
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;