This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: pernicious mixed content
- From: "Juan R. Migoya" <jmigoya at arrakis dot es>
- To: docbook-apps at lists dot oasis-open dot org
- Cc: Baurjan Ismagulov <ibr at gantek dot com>
- Date: Sat, 20 Apr 2002 22:18:06 +0200
- Subject: Re: DOCBOOK-APPS: pernicious mixed content
- References: <20020420110140.GA2581@gantek.com>
The space in para is always significant (as I understand), so
it seems that what you have got is the right behaviour.
Instead, if you write:
<listitem>
<para>Text.</para>
</listitem>
you won't get the space. It's ignored by the parser. (if not,
you could'n indent paras inside spaces).
Baurjan Ismagulov wrote:
>
[snip]
>
> I use para within listitem. What I can't understand is, why white space
> in para is significant within listitem, and not significant otherwise.
> In other words, why the following construction produces leading space
> on the first line:
>
> <listitem><para>
> Text.
> </para></listitem>
>
> and the following do not:
>
> <listitem><para>
> Text.
> </para></listitem>
>
> <para>
> Text.
> </para>
>
> Thanks in advance,
> Baurjan.