mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Minor whitespace and div fixes for XSLT
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1667 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
39be09ee14
commit
8708c0617a
@ -56,10 +56,12 @@
|
||||
<xsl:template match="title" />
|
||||
|
||||
<xsl:template match="namespace">
|
||||
<xsl:apply-templates />
|
||||
<xsl:if test="count(directive)=0">
|
||||
<p>No configuration directives defined for this namespace.</p>
|
||||
</xsl:if>
|
||||
<div class="namespace">
|
||||
<xsl:apply-templates />
|
||||
<xsl:if test="count(directive)=0">
|
||||
<p>No configuration directives defined for this namespace.</p>
|
||||
</xsl:if>
|
||||
</div>
|
||||
</xsl:template>
|
||||
<xsl:template match="namespace/name">
|
||||
<h2 id="{../@id}"><xsl:value-of select="." /></h2>
|
||||
@ -72,11 +74,7 @@
|
||||
|
||||
<xsl:template match="directive">
|
||||
<div>
|
||||
<xsl:attribute name="class">
|
||||
directive
|
||||
<xsl:if test="deprecated">
|
||||
deprecated
|
||||
</xsl:if>
|
||||
<xsl:attribute name="class">directive<xsl:if test="deprecated"> deprecated</xsl:if>
|
||||
</xsl:attribute>
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user