Changeset 1750


Ignore:
Timestamp:
01/13/12 03:42:24 (4 months ago)
Author:
jharrop
Message:

Don't count an empty paragraph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/convert/out/html/docx2xhtmlNG2.xslt

    r1631 r1750  
    244244                                                span>STUFF</span--> 
    245245                                </xsl:when> 
     246                                <xsl:when test="count(child::node())=1 and count(w:pPr)=1"> 
     247                                        <!--  Don't count an empty paragraph --> 
     248                                        <!--  Don't apply templates, since there is nothing to do. --> 
     249                                </xsl:when>                              
    246250                                <xsl:otherwise> 
    247251                                        <!--  At present, this doesn't use HTML OL|UL and LI; 
Note: See TracChangeset for help on using the changeset viewer.