From b2b38886d3520d200ab36ca67bf28f492fe78129 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 11 Mar 2006 19:44:56 +0000 Subject: [PATCH] Segmentedlist, fixed character formatting within seg output. Problem:: Seg content that contained bold/ital character formatting was getting munged. Cause:: Existing code was running trim.text() on Seg content; trim.text() is meant to be run only on text nodes. Fix:: Removed call to trim.text() and replaced with "apply templates and read resulting contents into a variable, then run normalize-space() on that variable". That should work OK, because Seg content model does not permit verbatim content or any other block content as its child content. Closes #1447578. Thanks to Daniel Leidert for reporting. --- xsl/manpages/lists.xsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xsl/manpages/lists.xsl b/xsl/manpages/lists.xsl index 9fc18faef..28bfd2ae9 100644 --- a/xsl/manpages/lists.xsl +++ b/xsl/manpages/lists.xsl @@ -279,10 +279,10 @@ T{ - - - - + + + + T} -- 2.40.0