Change the schema to allow code. Also have to implement it as copying the node to the output document. There might be a better way but I do not know of it.

This commit is contained in:
Steve Checkoway
2007-08-06 02:31:35 +00:00
parent adaeaa1e21
commit 0142b6c5ef
2 changed files with 14 additions and 2 deletions
+8
View File
@@ -31,6 +31,9 @@
hr {
width: 90%
}
code {
font-family: monospace
}
.trigger {
cursor: pointer
}
@@ -289,4 +292,9 @@
<br />
</div>
</xsl:template>
<!-- XXX: This is annoying, how can we tell xsl to just pass the html through? -->
<xsl:template match="sm:code">
<xsl:copy><xsl:apply-templates /></xsl:copy>
</xsl:template>
</xsl:stylesheet>