Whamcloud - gitweb
LUDOC-321 style: ensure ID attributes are unique. 07/18007/3
authorRichard Henwood <richard.henwood@intel.com>
Thu, 14 Jan 2016 18:21:14 +0000 (12:21 -0600)
committerRichard Henwood <richard.henwood@intel.com>
Tue, 19 Jan 2016 18:44:28 +0000 (18:44 +0000)
Fix the case where multiple chapters get the same ID in the
intermediary fop file. Allow multiple chapters to have conditional
decorations.

Change-Id: Ib73f46706d0d7142f6d8effa2fe5b129de60400c
Signed-off-by: Richard Henwood <richard.henwood@intel.com>
Reviewed-on: http://review.whamcloud.com/18007
Tested-by: Jenkins
Reviewed-by: Chris Hanna <hannac@iu.edu>
style/customstyle_fo.xsl

index 5b172d3..32b5104 100644 (file)
         <xsl:with-param name="master-reference" select="$master-reference"/>
       </xsl:call-template>
 
-       <fo:block-container id='${chunkid}'
+       <fo:block-container id='chapterdecoration-{$chunkid}'
                        padding='5pt'
                        border-color='gray'
                        border-style='solid'