[dokuwiki] Re: Small problem with the default template

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: