Commit afadb5c2 authored by Alex Theg's avatar Alex Theg

Scrub number from first `li/p` child only

parent 5b82b0b9
......@@ -11,7 +11,7 @@
<xsl:mode on-no-match="shallow-copy"/>
<!-- find all li:p s and scrub the leading numeral(s) + . + ws -->
<xsl:template match="li/p">
<xsl:template match="li/p[1]">
<xsl:value-of select='replace(., "^\s*\d+\.\s+", "")'/>
</xsl:template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment