aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index e397f5bd7..fad6f6120 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -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=""';