]> granicus.if.org Git - docbook-dsssl/commit
Disappearing whitespace in Para content, fixed.
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 13 Mar 2006 13:58:48 +0000 (13:58 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 13 Mar 2006 13:58:48 +0000 (13:58 +0000)
commitbcdf66c3bd91c4a4d9632d5c6891a935541b53b5
tree445bdeade325e9f8210bb20e511299cc13875528
parent9cd1579f4868a23df8c0c3a4f89790759284c87f
Disappearing whitespace in Para content, fixed.
Problem:: For a Para, in output of content of two child elements
separated by whitespace, the space gets eaten. Also, for adjacent
text nodes separated by whitespace plus a comment. Cause:: I
didn't realize that running normalize-space() on a node that only
contains space returns an empty string :) Also, did not have the
code checking for comment or PI nodes correctly. Fix:: Added code
to correctly catch whitespacespace-only nodes, comments, and PIs.

Closes #1448860 and #1448856.
xsl/manpages/utility.xsl