|
|
@@ -73,8 +73,10 @@ class Zend_Markup_Renderer_Html_Img extends Zend_Markup_Renderer_Html_HtmlAbstra
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // run the URI through htmlentities
|
|
|
+ // run the URI and alt through htmlentities
|
|
|
$uri = htmlentities($uri, ENT_QUOTES, 'UTF-8');
|
|
|
+ $alt = htmlentities($alt, ENT_QUOTES, 'UTF-8');
|
|
|
+
|
|
|
|
|
|
return "<img src=\"{$uri}\" alt=\"{$alt}\"" . Zend_Markup_Renderer_Html::renderAttributes($token) . " />";
|
|
|
}
|