Commit 3ac464a4 authored by Wendell Piez's avatar Wendell Piez

Suppressing a problem template see #140

parent 5d1b023c
......@@ -76,10 +76,12 @@ Note the following mappings:
<!-- We can strip 'span' elements when they are coextensive with their wrapping p and
have nothing but @style to offer, as the latter is being promoted. -->
<xsl:template match="p//span[empty(@class)]
<!-- NB suppressing this until it can test whether a wrapping @class doesn't warrant its retention
see https://gitlab.coko.foundation/XSweet/XSweet/issues/140 -->
<!--<xsl:template match="p//span[empty(@class)]
[normalize-space(.) = normalize-space(ancestor::p[1]) and count(../*) eq 1]">
<xsl:apply-templates/>
</xsl:template>
</xsl:template>-->
<!-- Note we leave 'u', 'i' and 'b' in place despite also promoting them to CSS. -->
......
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