Skip to content

Commit 63d28b8

Browse files
committed
Address issue #3611
1 parent 8613481 commit 63d28b8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

xslt/generate-understanding.xslt

+10-8
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,9 @@
780780
<xsl:template match="html:p[@class = 'note'] | html:div[@class = 'note']">
781781
<div class="note">
782782
<p class="note-title marker">Note</p>
783-
<xsl:copy><xsl:apply-templates select="@*[not(name() = 'class')]|node()"/></xsl:copy>
783+
<xsl:copy>
784+
<xsl:apply-templates mode="sc-info"/>
785+
</xsl:copy>
784786
</div>
785787
</xsl:template>
786788

@@ -1137,13 +1139,13 @@
11371139

11381140
<xsl:template match="html:*[@class = 'instructions']"/>
11391141

1140-
<xsl:template match="html:a[func:starts-with(@href, '#')]" mode="wcag-include">
1141-
<xsl:variable name="href" select="@href"/>
1142-
<xsl:copy>
1143-
<xsl:apply-templates select="@*"/>
1144-
<xsl:attribute name="href"><xsl:value-of select="$loc.guidelines"/><xsl:value-of select="$href"/></xsl:attribute>
1145-
<xsl:apply-templates/>
1146-
</xsl:copy>
1142+
<xsl:template match="html:a[func:starts-with(@href, '#')]">
1143+
<xsl:variable name="href" select="@href"/>
1144+
<xsl:copy>
1145+
<xsl:apply-templates select="@*"/>
1146+
<xsl:attribute name="href"><xsl:value-of select="$loc.guidelines"/><xsl:value-of select="$href"/></xsl:attribute>
1147+
<xsl:apply-templates/>
1148+
</xsl:copy>
11471149
</xsl:template>
11481150

11491151
</xsl:stylesheet>

0 commit comments

Comments
 (0)