Fixed the creation of "cat ... EOF" blocks.

This commit is contained in:
Manuel Canales Esparcia 2005-09-28 17:18:06 +00:00
parent 0bad6baa0e
commit b8bf2f858a

View file

@ -53,7 +53,8 @@
<xsl:when test="@role = 'nodump'"/>
<xsl:otherwise>
<xsl:apply-templates select="userinput"/>
<xsl:if test="position() != last()">
<xsl:if test="position() != last() and
not(contains(string(),'EOF'))">
<xsl:text> &amp;&amp;</xsl:text>
</xsl:if>
<xsl:text>&#xA;</xsl:text>