[pmwiki-users] Re: %dlcol% (was: Cookbook -was PmWiki/DocumentationIndex))
Patrick R. Michaud
pmichaud at pobox.com
Mon Jun 20 09:06:32 CDT 2005
On Mon, Jun 20, 2005 at 03:56:30PM +0200, chr at home.se wrote:
> > Monday, June 20, 2005, 8:07:34 AM, chr wrote:
> > > I tried getting the above to work by shoving into my config.php, but
> > > nothing happens... am I missing something?
> > Did you use %dlcol% at the beginning of the paragraph containing the
> > list?
> I got it working. The problem I had is illustrated by the following
> markup that doesn't work:
> : G : E
> : A %dlcol% : B
> : C : D
> Thinking about it I assume that the very first definition somehow causes
> the style appearing in the second line to be ignored. Not sure if this is
> really a bug (although it's slightly unintuitive).
Well, yes...since we're styling the list, we have to have the
style information on the first entry in the list (so it can be
placed in the <dl> tag). By the time we reach the second entry
the list has already been started and it's too late to add it to
the <dl> tag.
More information about the pmwiki-users