[dokuwiki] Re: Small problem with the default template
- From: "Todd Augsburger" <todd@xxxxxxxxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Thu, 22 May 2008 08:04:36 -0400
----- Original Message -----
>From: "Balazs Attila-Mihaly (Cd-MaN)" <x_at_y_or_z@xxxxxxxxx>
>Subject: [dokuwiki] Small problem with the default template
>
>This is a paragraph
> * this
> * is
> * a
> * list
>This is a second paragraph
>
>The distance between the first paragraph and the list is greater than the
>distance between the second paragraph and the list.
Personally I just use \\ and am happy with that.
The end-of-list cosmetic behavior could be easily modified in
inc/parser/xhtml.php, such as like this:
function listu_close() {
$this->doc .= '</ul><br/>'.DOKU_LF;
}
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'd also modify listo_ functions.)
You may of course change the parser as a plugin, if you prefer.
Todd Augsburger
todd@xxxxxxxxxxxxxxxx
Roller Organs
www.rollerorgans.com
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Small problem with the default template
- From: Christopher Smith
- [dokuwiki] Re: Small problem with the default template
- From: Michael Hamann
- References:
- [dokuwiki] Small problem with the default template
- From: Balazs Attila-Mihaly \(Cd-MaN\)
Other related posts:
- » [dokuwiki] Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- » [dokuwiki] Re: Small problem with the default template
- [dokuwiki] Re: Small problem with the default template
- From: Christopher Smith
- [dokuwiki] Re: Small problem with the default template
- From: Michael Hamann
- [dokuwiki] Small problem with the default template
- From: Balazs Attila-Mihaly \(Cd-MaN\)