From 90db23d71d75b2d863812238d45064285332ff85 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 24 Jun 2005 15:06:36 +0200 Subject: Correct invalid XHTML generated for list elements Change the element used to differentiate the
    numbering from list item text to a
    element. A
    is allowed to have children with display:block (e.g.
    , 
      ,
        ) whereas a span isn't. darcs-hash:20050624130636-50fdc-0637f16f3791c845a5247c5233237330a2e8a2d4.gz --- inc/parser/xhtml.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/parser') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index b1dbb6858..dad6dfb97 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -275,11 +275,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function listcontent_open() { - $this->doc .= ''; + $this->doc .= '
        '; } function listcontent_close() { - $this->doc .= ''.DOKU_LF; + $this->doc .= '
        '.DOKU_LF; } function unformatted($text) { -- cgit v1.2.3