summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-24 15:29:22 +0200
committerandi <andi@splitbrain.org>2005-04-24 15:29:22 +0200
commit506ae684bcf1ce877f4b74e255056d17161e4cc0 (patch)
treed0db80e9ffe246fc871b8d642d4b88c8a7eee427 /inc/parser/xhtml.php
parentc27ff579c062b3489dae397eb8654e4628d3b2cc (diff)
downloadrpg-506ae684bcf1ce877f4b74e255056d17161e4cc0.tar.gz
rpg-506ae684bcf1ce877f4b74e255056d17161e4cc0.tar.bz2
finally valid XHTML again
darcs-hash:20050424132922-9977f-5e9acbeae431ca1c605169829e580bf094a09ef9.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 70a8c7830..37cd36cf3 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -750,8 +750,12 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$ret .= ' class="media'.$align.'"';
- if (!is_null($title))
+ if (!is_null($title)) {
$ret .= ' title="'.$this->_xmlEntities($title).'"';
+ $ret .= ' alt="'.$this->_xmlEntities($title).'"';
+ }else{
+ $ret .= ' alt=""';
+ }
if ( !is_null($width) )
$ret .= ' width="'.$this->_xmlEntities($width).'"';