diff options
author | Anika Henke <a.c.henke@arcor.de> | 2006-01-27 20:32:38 +0100 |
---|---|---|
committer | Anika Henke <a.c.henke@arcor.de> | 2006-01-27 20:32:38 +0100 |
commit | 02e511213ae892653af32a79dbd07341d7a5f9d9 (patch) | |
tree | 50d537c22cda0487ba3cd563ae2467e92baae7b1 /inc/parser/xhtml.php | |
parent | 1bb49acb063c0b6842615a142bc66c85ee03a933 (diff) | |
download | rpg-02e511213ae892653af32a79dbd07341d7a5f9d9.tar.gz rpg-02e511213ae892653af32a79dbd07341d7a5f9d9.tar.bz2 |
further xhtml strictness -- part 3
darcs-hash:20060127193238-d5083-7af0a40e439cd5f63e45d4037611132a16856799.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 9fd31f3b2..d9c750220 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -132,7 +132,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $this->lastsec = $pos; } - $this->doc .= DOKU_LF.'<a name="'.$this->_headerToLink($text).'"></a><h'.$level.'>'; + $this->doc .= DOKU_LF.'<a name="'.$this->_headerToLink($text).'" id="'.$this->_headerToLink($text).'"></a><h'.$level.'>'; $this->doc .= $this->_xmlEntities($text); $this->doc .= "</h$level>".DOKU_LF; } @@ -182,11 +182,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function underline_open() { - $this->doc .= '<u>'; + $this->doc .= '<em class="u">'; } function underline_close() { - $this->doc .= '</u>'; + $this->doc .= '</em>'; } function monospace_open() { @@ -267,7 +267,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } // output the footnote reference and link, incl. onmouseover for insitu footnote popup - $this->doc .= '<a href="#fn'.$id.'" name="fnt'.$id.'" class="fn_top" onmouseover="fnt(\''.$id.'\', this, event);">'.$id.')</a>'; + $this->doc .= '<a href="#fn'.$id.'" name="fnt'.$id.'" id="fnt'.$id.'" class="fn_top" onmouseover="fnt(\''.$id.'\', this, event);">'.$id.')</a>'; } function listu_open() { |