Skip to content
Snippets Groups Projects
Commit fcf1ccdc authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix for missing alt attribute for captionless JPEGs FS#1126

darcs-hash:20070504184441-7ad00-47c6f91236a21ed3dbd0b12e4ec0e9c2d717f340.gz
parent 481bd052
No related branches found
No related tags found
No related merge requests found
......@@ -931,6 +931,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
if($cap){
$ret .= ' title="'.$this->_xmlEntities($cap).'"';
$ret .= ' alt="'.$this->_xmlEntities($cap).'"';
}else{
$ret .= ' alt=""';
}
}else{
$ret .= ' alt=""';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment