[Openvas-commits] r9448 - in trunk/openvas-manager: . src/report_formats/LaTeX
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Nov 18 19:12:18 CET 2010
Author: mattm
Date: 2010-11-18 19:12:17 +0100 (Thu, 18 Nov 2010)
New Revision: 9448
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/report_formats/LaTeX/latex.xsl
Log:
* src/report_formats/LaTeX/latex.xsl (wrap-row): Call escape_verb_env
directly, instead of as the value of a variable, to increase speed.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2010-11-18 15:17:32 UTC (rev 9447)
+++ trunk/openvas-manager/ChangeLog 2010-11-18 18:12:17 UTC (rev 9448)
@@ -1,3 +1,8 @@
+2010-11-18 Matthew Mundell <matthew.mundell at greenbone.net>
+
+ * src/report_formats/LaTeX/latex.xsl (wrap-row): Call escape_verb_env
+ directly, instead of as the value of a variable, to increase speed.
+
2010-11-15 Matthew Mundell <matthew.mundell at greenbone.net>
* src/omp.c (create_config_data_reset)
Modified: trunk/openvas-manager/src/report_formats/LaTeX/latex.xsl
===================================================================
--- trunk/openvas-manager/src/report_formats/LaTeX/latex.xsl 2010-11-18 15:17:32 UTC (rev 9447)
+++ trunk/openvas-manager/src/report_formats/LaTeX/latex.xsl 2010-11-18 18:12:17 UTC (rev 9448)
@@ -339,8 +339,11 @@
<xsl:if test="$indented = 1">
<xsl:text>$\hookrightarrow$</xsl:text>
</xsl:if>
- <xsl:variable name="line_escaped"><xsl:call-template name="escape_verb_env"><xsl:with-param name="string" select="$line"/></xsl:call-template></xsl:variable>
- <xsl:text>\verb=</xsl:text><xsl:value-of select="$line_escaped"/><xsl:text>=}</xsl:text>
+ <xsl:text>\verb=</xsl:text>
+ <xsl:call-template name="escape_verb_env">
+ <xsl:with-param name="string" select="$line"/>
+ </xsl:call-template>
+ <xsl:text>=}</xsl:text>
<xsl:call-template name="latex-newline"/>
</xsl:template>
More information about the Openvas-commits
mailing list