Skip to content

Commit

Permalink
strip colons from generated IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Cooper committed Aug 18, 2018
1 parent 1c33d61 commit 2c7506c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xslt/base.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<xsl:function name="wcag:generate-id">
<xsl:param name="title"/>
<xsl:value-of select="lower-case(replace(replace($title, ' ', '-'), '[,()]', ''))"/>
<xsl:value-of select="lower-case(replace(replace($title, ' ', '-'), '[,():]', ''))"/>
</xsl:function>

<xsl:function name="wcag:find-heading">
Expand Down

0 comments on commit 2c7506c

Please sign in to comment.