Commit 85c72626 authored by Wendell Piez's avatar Wendell Piez
Browse files

Paragraphs with only nbsp or space are now dropped per #34

parent 2be1cf63
......@@ -62,7 +62,7 @@
</xsl:template>
<!-- Empty line feeds may be left especially after paragraph splitting in an earlier step. -->
<xsl:template match="p[not(matches(.,'\S'))]"/>
<xsl:template match="p[not(matches(.,'[^&#xA0;\s]'))]"/>
<!-- NB stripping b and strong for now. -->
<!-- Also dropping inline markup that has only whitespace /tabs -->
......
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