aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/pdf/lfs-xref.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/lfs-xsl/pdf/lfs-xref.xsl')
-rw-r--r--stylesheets/lfs-xsl/pdf/lfs-xref.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/stylesheets/lfs-xsl/pdf/lfs-xref.xsl b/stylesheets/lfs-xsl/pdf/lfs-xref.xsl
index 03f935bee..d14e49b22 100644
--- a/stylesheets/lfs-xsl/pdf/lfs-xref.xsl
+++ b/stylesheets/lfs-xsl/pdf/lfs-xref.xsl
@@ -23,8 +23,8 @@
<!-- is the @xlink:href a local idref link? -->
<xsl:param name="xlink.idref">
<xsl:if test="starts-with($xhref,'#')
- and (not(contains($xhref,'&#40;'))
- or starts-with($xhref, '#xpointer&#40;id&#40;'))">
+ and (not(contains($xhref,'('))
+ or starts-with($xhref, '#xpointer(id('))">
<xsl:call-template name="xpointer.idref">
<xsl:with-param name="xpointer" select="$xhref"/>
</xsl:call-template>