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

Further adjustment to property promotion #62 #122

parent f730422b
......@@ -81,8 +81,8 @@ Note the following mappings:
<xsl:template name="override-styles">
<!-- Under certain conditions, descends tree to collect CSS style property assignments
returning them as attributes (captured on a proxy). -->
<xsl:if test="count(span) eq 1 and normalize-space(.) = normalize-space(*[1])">
<xsl:for-each select="span">
<xsl:if test="count(* except tab) eq 1 and normalize-space(.) = normalize-space(*[1])">
<xsl:for-each select="* except tab">
<xsl:apply-templates select=". | @style" mode="as-attributes"/>
<!-- descend recursively -->
<xsl:call-template name="override-styles"/>
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