diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 34b5cd9a0..8add04363 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -1020,11 +1020,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } } return $this->_xmlEntities($default); - } else if ( is_string($title) ) { - return $this->_xmlEntities($title); } else if ( is_array($title) ) { $isImage = true; return $this->_imageTitle($title); + } else { + return $this->_xmlEntities($title); } } |