From: Michael Smith Date: Wed, 28 Sep 2005 02:23:47 +0000 (+0000) Subject: Problem: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faf67a63d77899545c58be1fa0969e95aa85df08;p=docbook-dsssl Problem: Garbage characters appear in content of Title attribute in HTML output. Cause: Contents of Alt element, including line breaks, were being copied over "as is" to value of Title attribute in HTML output. Line breaks in Title appear a garbage characters when displayed as pop-up "tool text". Fix: Added call to normalize-space() when transforming content of Alt for HTML output. Closes #1254532. Thanks to Sam Steingold for reporting the problem. --- diff --git a/xsl/html/html.xsl b/xsl/html/html.xsl index 400a9dd54..15fd486e9 100644 --- a/xsl/html/html.xsl +++ b/xsl/html/html.xsl @@ -22,7 +22,7 @@ - +