[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: line breaks in </lineannotation>
Hi, if you look at http://clisp.podval.org/impnotes/mt.html#mt-unsafe you will see a spurious line break: (INCF (GETHASH x global-ht 0)) ; see Section 32.5.2.5, “Hash Tables, Sequences, and other mutable objects” there should not be a line break between "other" and "mutable". the sources (http://clisp.podval.org/impnotes-src.zip) impext.xml: ----------------------------------- <section id="mt-mutable"><title>Hash Tables, Sequences, and other mutable objects</title> ... <programlisting language="lisp"> (&incf; (&gethash; x global-ht 0))<lineannotation>see <xref linkend="mt-mutable"/></lineannotation> .... ----------------------------------- template: ----------------------------------- <xsl:template match="programlisting[@language = 'lisp']/lineannotation"> <strong>	; </strong> <!-- TAB + ; + --> <xsl:apply-imports/> </xsl:template> ----------------------------------- my question is: should I use normalize-space myself (the following is probably wrong, I hope you will correct that for me): ----------------------------------- <xsl:template match="programlisting[@language = 'lisp']/lineannotation"> <strong>	; </strong> <!-- TAB + ; + --> <xsl:value-of select="normalize-space(.)"><xsl:apply-imports/></xsl:value-of> </xsl:template> ----------------------------------- or is this a bug which could be fixed at the source? thanks! -- Sam Steingold <http://sds.podval.org>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]