Commit bcc67741 authored by Alex Theg's avatar Alex Theg

pass img tags thru reduce

parent 200699db
......@@ -62,8 +62,11 @@
</xsl:template>
<!-- Empty line feeds may be left especially after paragraph splitting in an earlier step. -->
<xsl:template match="p[not(matches(.,'[^&#xA0;\s]'))]"/>
<xsl:template match="p[not(matches(.,'[^&#xA0;\s]'))]">
<!-- but do save any image tags -->
<xsl:apply-templates select="*/img" mode="copy-after-all"/>
</xsl:template>
<!-- NB stripping b and strong for now. -->
<!-- Also dropping inline markup that has only whitespace /tabs -->
<xsl:template match="i | sup | sub | a | code | em">
......
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