Commit a0977d25 authored by Alex Theg's avatar Alex Theg
Browse files

Fix scrub.xsl ws-only formatting remover

parent 38edc574
......@@ -43,7 +43,7 @@
<!--<xsl:template match="p[not(matches(.,'\S'))]"/>-->
<!-- Remove any inline formatting on only whitespace. -->
<xsl:template match="p//*[(matches(.,'\s'))]">
<xsl:template match="p//*[not(matches(.,'\S'))]">
<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