From ebbd76787589a28b44cdeda2c28ea9c90ce25aeb Mon Sep 17 00:00:00 2001 From: bobstayton Date: Mon, 9 Jul 2018 14:24:49 -0700 Subject: [PATCH] fix issue #15 whitespace in glossterms with autolink --- xsl/fo/inline.xsl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/xsl/fo/inline.xsl b/xsl/fo/inline.xsl index d9dfa31ac..218e7f8fc 100644 --- a/xsl/fo/inline.xsl +++ b/xsl/fo/inline.xsl @@ -883,12 +883,16 @@ and $glossary.collection != ''"> - - + + + + + + + select="(document($glossary.collection,.)//d:glossentry[normalize-space(d:glossterm)=$term])[1]"/> @@ -936,7 +940,7 @@ Error: no glossentry for glossterm: - + . -- 2.50.1