This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pernicious mixed content


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]