This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
pernicious mixed content
- From: Baurjan Ismagulov <ibr at gantek dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 20 Apr 2002 14:01:59 +0300
- Subject: DOCBOOK-APPS: pernicious mixed content
Hello,
I've encountered a listitem indentation problem discussed in TDG
(html/entry.html) and the following threads:
http://sources.redhat.com/ml/docbook-apps/2001-q3/msg00858.html
http://sources.redhat.com/ml/docbook-apps/2001-q4/msg00041.html
I understand that any block element should immediately follow listitem,
otherwise the parser would treat the listitem contents as inline.
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.