File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 780
780
<xsl : template match =" html:p[@class = 'note'] | html:div[@class = 'note']" >
781
781
<div class =" note" >
782
782
<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 >
784
786
</div >
785
787
</xsl : template >
786
788
1137
1139
1138
1140
<xsl : template match =" html:*[@class = 'instructions']" />
1139
1141
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 >
1147
1149
</xsl : template >
1148
1150
1149
1151
</xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments