- Switched "naked" newlines to calls to newline-internal.
1 parent 93ef22b commit d166981fdfe8a405029ae429bd1871b9729cfaaa
nstanger authored on 22 Feb 2012
Showing 1 changed file
View
10
modules/q-and-a.xml
<!--
It's nice to weed out the sample answer markup at the XSLT processing stage to make LaTeX run faster. Note that \showanswers still needs to be called so that LaTeX can format chapter headings like "Answers for ..."
-->
<xsl:if test="$showanswers='yes'">
<xsl:text>\begin{answer}
</xsl:text>
<xsl:text>\begin{answer}</xsl:text>
<xsl:call-template name="newline-internal" />
<xsl:apply-templates />
<xsl:text>\end{answer}
 
</xsl:text>
<xsl:text>\end{answer}</xsl:text>
<xsl:call-template name="newline-internal" />
<xsl:call-template name="newline-internal" />
</xsl:if>
</common>
<common formats="/html/xhtml/">
<xsl:if test="$showanswers='yes'">