Fix MPXDOC-89.

html tags not passed through for source and pre tags


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-03-29 20:54:21 +00:00
parent ecd8d97713
commit 8a280a7e26

View File

@@ -324,7 +324,7 @@
</jsl:template>
<jsl:template match="source" trim="false">
<div class="source"><pre><x:expr select="."/></pre></div>
<div class="source"><pre><jsl:applyTemplates /></pre></div>
</jsl:template>
<!-- preserve whitespace in the following elements -->
@@ -334,7 +334,7 @@
<x:forEach var="attr" select="@*">
<x:attribute name="${attr.name}">${attr.value}</x:attribute>
</x:forEach>
<j:whitespace trim="false"><x:expr select="."/></j:whitespace>
<j:whitespace trim="false"><jsl:applyTemplates /></j:whitespace>
</x:element>
</jsl:template>