[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: xml/groff: comments in text=>whitespace stripped?!
> * In message <20030605210107.A21680@sco.com> > * On the subject of "Re: xml/groff: comments in text=>whitespace stripped?!" > * Sent on Thu, 5 Jun 2003 21:01:07 -0700 > * Honorable Bob Stayton <bobs@sco.com> writes: > > The problem lies in the template that processes the simpara, > > <xsl:template match="para|simpara|remark" mode="list"> > > in manpages/lists.xsl. It processes the simpara content > into a variable: > > <xsl:variable name="foo"> > <xsl:apply-templates/> > </xsl:variable> > > and then processes that variable with normalize-space($foo). > That function eats the line feeds within the simpara. I would argue that this is incorrect. Since newline is syntactically significant in groff, arbitrarily removing it is a bug. > You are going to have to work around that function. could you please be more specific? How do I work around it? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> Booze is the answer. I can't remember the question.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]