aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-09 08:55:14 +0000
commitc1fe047a4d7b6890809ba4ce2e25f290c5d11962 (patch)
treedf8ae9fb1adbe06584916a01634ed4148f07c913 /stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl
parente7477591dd2a1302aadec48724cb070850caebee (diff)
Merged r8368 from new-xsl branch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8369 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl8
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>