[pmwiki-users] Definition lists with multiple definitions

Kathryn Andersen kat_lists at katspace.homelinux.org
Fri Sep 8 22:24:55 CDT 2006


On Fri, Sep 08, 2006 at 08:20:12AM -0500, Patrick R. Michaud wrote:
> On Fri, Sep 08, 2006 at 08:00:23PM +1000, Kathryn Andersen wrote:
> > :term:definition
> > ::second definition
> > 
> > While this "fakes" a second definition, it doesn't use correct HTML
> > markup for it -- it makes a sequence like this
> > [...]
> > What it should really be (if this is the correct markup for
> > definitions-after-the-first-one) is:
> > 
> > <dl><dt>term</dt>
> > <dd>definition</dd>
> > <dd>second definition</dd>
> > </dl>
> > 
> > Is this possible?
> 
> Yes, but there needs to be a space in the term for the second
> definition; i.e.:
> 
>     :term:definition
>     : :second definition
> 
> The reason is that PmWiki sees "::second definition" as being
> a second-level nested definition list item, as opposed to a 
> first-level definition list item with an empty term.

I'm afraid I get exactly the same result when using the
"second definition" with a space in the term; it gives a div with
class="indent", rather than additional <dd> belonging to the first term.

I'm using version 2.1.22 (no, I haven't caught up to the latest
releases yet).

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list