placeholders can now be used in summary tables

This commit is contained in:
skyanth 2017-07-25 15:43:12 +02:00
parent 802ce0a978
commit a5a14f7413

View File

@ -39,10 +39,19 @@
</fo:block>
</xsl:template>
<!-- special case for p in summary table to avoid checkiflast - all other elements can ignore mode -->
<xsl:template match="*" mode="summarytable">
<xsl:apply-templates select="."/>
</xsl:template>
<!-- p is more specific so has higher prio -->
<xsl:template match="p" mode="summarytable">
<xsl:apply-templates mode="summarytable"/>
</xsl:template>
<xsl:template match="pre">
<fo:block xsl:use-attribute-sets="pre">
<xsl:call-template name="checkIfLast"/>