o applying patch for MAVEN-1162
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -357,7 +357,7 @@
|
||||
</xsl:template>
|
||||
<xsl:template match="a[@href and starts-with(@href, '#')]">
|
||||
<xsl:param name="chapterNumber"/>
|
||||
<fo:basic-link internal-destination="{$chapterNumber}{@href}">
|
||||
<fo:basic-link internal-destination="{$chapterNumber}{@href}{generate-id()}">
|
||||
<fo:inline xsl:use-attribute-sets="href">
|
||||
<xsl:apply-templates>
|
||||
<xsl:with-param name="chapterNumber">
|
||||
@@ -381,7 +381,7 @@
|
||||
</xsl:template>
|
||||
<xsl:template match="a[@name]">
|
||||
<xsl:param name="chapterNumber"/>
|
||||
<fo:block id="{$chapterNumber}#{@name}">
|
||||
<fo:block id="{$chapterNumber}#{@name}{generate-id()}">
|
||||
<xsl:apply-templates>
|
||||
<xsl:with-param name="chapterNumber">
|
||||
<xsl:value-of select="$chapterNumber"/>
|
||||
|
||||
Reference in New Issue
Block a user