Skip to content

Commit 6867445

Browse files
committed
Fix #7 - Reorder CSS, place user custom last.
1 parent 9b06f10 commit 6867445

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Customization/xsl/user-styles-extend.xsl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@
5252
</xsl:otherwise>
5353
</xsl:choose>
5454
<xsl:value-of select="$newline"/>
55+
56+
<!-- ↓ Add an additional extended stylesheet ↑ -->
57+
<xsl:apply-templates select="." mode="gen-common-extended-style"/>
58+
<!-- ↑ End customization · Continue with DITA-OT defaults ↓ -->
59+
5560
<!-- Add user's style sheet if requested to -->
5661
<xsl:if test="string-length($CSS) > 0">
5762
<xsl:choose>
@@ -63,10 +68,6 @@
6368
</xsl:otherwise>
6469
</xsl:choose><xsl:value-of select="$newline"/>
6570
</xsl:if>
66-
67-
<!-- ↓ Add an additional extended stylesheet ↑ -->
68-
<xsl:apply-templates select="." mode="gen-common-extended-style"/>
69-
<!-- ↑ End customization · Continue with DITA-OT defaults ↓ -->
7071
</xsl:template>
7172

7273
</xsl:stylesheet>

0 commit comments

Comments
 (0)