Commit e978f6af authored by Wendell Piez's avatar Wendell Piez

Making property promotion a little greedier ...

parent a155cdc0
......@@ -86,7 +86,7 @@ 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(* except tab) eq 1 and normalize-space(.) = normalize-space(*[1])">
<xsl:if test="count(* except tab) eq 1 and normalize-space(.) = normalize-space((* except tab)[1])">
<xsl:for-each select="* except tab">
<xsl:apply-templates select=". | @style" mode="as-attributes"/>
<!-- descend recursively -->
......
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