diff options
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl index 73d57552b..9662ac5e0 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl @@ -85,7 +85,9 @@ <fo:list-item-body start-indent="body-start()"> <xsl:if test="$admon.textlabel != 0 or title or info/title"> <fo:block xsl:use-attribute-sets="admonition.title.properties"> - <xsl:apply-templates select="." mode="object.title.markup"/> + <xsl:apply-templates select="." mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> </fo:block> </xsl:if> <fo:block xsl:use-attribute-sets="admonition.properties"> @@ -107,7 +109,9 @@ <xsl:if test="$admon.textlabel != 0 or title or info/title"> <fo:block keep-with-next.within-column='always' xsl:use-attribute-sets="admonition.title.properties"> - <xsl:apply-templates select="." mode="object.title.markup"/> + <xsl:apply-templates select="." mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> </fo:block> </xsl:if> |