Commit 5dbe0417 authored by Wendell Piez's avatar Wendell Piez

Addressing Issue #104

parent 88298057
......@@ -77,7 +77,7 @@ 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)]
[normalize-space(.) = normalize-space(ancestor::p[1])]">
[normalize-space(.) = normalize-space(ancestor::p[1]) and count(../(* except tab)) eq 1]">
<xsl:apply-templates/>
</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