diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-01-18 14:57:54 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-01-18 15:03:54 +0800 |
commit | 3626aa30487772be32d2b6ca591137ce88e9d616 (patch) | |
tree | 0c80b958cdfed7bc8f5444c61fe9c022f4308041 /stylesheets/lfs-xsl/pdf/lfs-xref.xsl | |
parent | 270b1732aa815623cc4f20a9b516099ce82eb313 (diff) |
Use UTF-8 characters instead of &#...;
This is done via:
find -name \*.xml -or -name \*.xsl | xargs python3 utf8ize.py
with https://linuxfromscratch.org/~xry111/utf8ize.py.
Diffstat (limited to 'stylesheets/lfs-xsl/pdf/lfs-xref.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/pdf/lfs-xref.xsl | 4 |
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,'(')) - or starts-with($xhref, '#xpointer(id('))"> + 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> |