Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-18 15:44:12 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-01-18 15:44:12 -0500
commit87a059f0c88855e8eb840c394e9ec0e184d2bd29 (patch)
tree2ab378ae9185d3d2213bef2c63364eb04b81d6ab
parent211387ce2f7617b0e155b734259d3aaba3116db5 (diff)
downloadtame-87a059f0c88855e8eb840c394e9ec0e184d2bd29.tar.gz
tame-87a059f0c88855e8eb840c394e9ec0e184d2bd29.tar.bz2
tame-87a059f0c88855e8eb840c394e9ec0e184d2bd29.zip
Retain template conditionals verbatim if param unknownv2.8.6
This is important for template-generating templates. * src/current/include/preproc/template.xsl (lv:if,lv:unlesS): Retain conditional nodes verbatim when referenced param is unknown.
-rw-r--r--src/current/include/preproc/template.xsl6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/current/include/preproc/template.xsl b/src/current/include/preproc/template.xsl
index d7216ff..d64330f 100644
--- a/src/current/include/preproc/template.xsl
+++ b/src/current/include/preproc/template.xsl
@@ -749,11 +749,7 @@
]/lv:param/@name
)
">
- <xsl:copy>
- <xsl:sequence select="@*" />
-
- <xsl:apply-templates select="*" mode="preproc:apply-template" />
- </xsl:copy>
+ <xsl:sequence select="." />
</xsl:when>
<xsl:otherwise>