From 02e511213ae892653af32a79dbd07341d7a5f9d9 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 27 Jan 2006 20:32:38 +0100 Subject: further xhtml strictness -- part 3 darcs-hash:20060127193238-d5083-7af0a40e439cd5f63e45d4037611132a16856799.gz --- inc/html.php | 2 +- inc/parser/xhtml.php | 8 ++++---- lib/styles/style.css | 11 +++++++++++ lib/tpl/default/design.css | 6 ------ lib/tpl/default/footer.html | 14 +++++++------- 5 files changed, 23 insertions(+), 18 deletions(-) diff --git a/inc/html.php b/inc/html.php index f506a4a0b..3dd91235a 100644 --- a/inc/html.php +++ b/inc/html.php @@ -421,7 +421,7 @@ function html_revisions(){ print $date; - print ' '; + print ' '; print ''.$ID.' '; 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.''; + $this->doc .= DOKU_LF.''; $this->doc .= $this->_xmlEntities($text); $this->doc .= "".DOKU_LF; } @@ -182,11 +182,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function underline_open() { - $this->doc .= ''; + $this->doc .= ''; } function underline_close() { - $this->doc .= ''; + $this->doc .= ''; } 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 .= ''.$id.')'; + $this->doc .= ''.$id.')'; } function listu_open() { diff --git a/lib/styles/style.css b/lib/styles/style.css index 294144f1e..44187ddff 100644 --- a/lib/styles/style.css +++ b/lib/styles/style.css @@ -5,6 +5,12 @@ div.clearer {clear: both; line-height: 0; height: 0; overflow:hidden;} +div.no { + display: inline; + margin: 0; + padding: 0; +} + div.error{ background: #fcc url(../images/error.png) 0.5em 0px no-repeat; color: #000; @@ -48,6 +54,11 @@ div.success{ margin-right: auto; } +em.u { + font-style: normal; + text-decoration: underline; +} + /* syntax highlighting code */ .code .br0 { color: #66cc66; } diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index f7055ddf9..6404e7713 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -47,12 +47,6 @@ div.nothing { margin: 2em; } -div.no { - display: inline; - margin: 0; - padding: 0; -} - /* ---------------- forms ------------------------ */ form { diff --git a/lib/tpl/default/footer.html b/lib/tpl/default/footer.html index e75d029d3..9db2db4e8 100644 --- a/lib/tpl/default/footer.html +++ b/lib/tpl/default/footer.html @@ -8,19 +8,19 @@ ?>
- Recent changes RSS feed + Recent changes RSS feed - Creative Commons License + Creative Commons License - Donate + Donate - Powered by PHP + Powered by PHP - Valid XHTML 1.0 + Valid XHTML 1.0 - Valid CSS + Valid CSS - Driven by DokuWiki + Driven by DokuWiki