[dokuwiki] Re: Small problem with the default template

  • From: Michael Hamann <michael@xxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 22 May 2008 14:30:50 +0200

Hi,

Todd Augsburger schrieb:
Or maybe you'd prefer the list in its own paragraph:

    function listu_open() {
        $this->doc .= '<p><ul>'.DOKU_LF;
    }

    function listu_close() {
        $this->doc .= '</ul></p>'.DOKU_LF;
    }

You may only use inline-elements and #PCDATA inside of <p>-elements, so the code you suggested isn't valid.

Michael
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: