aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/xhtml
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2024-01-18 20:35:28 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2024-01-18 20:42:26 +0100
commit2a26a4f5df7c2487afb89fcd05d99133e84b284c (patch)
treec7f738ee9fc953e4f00766963537ac463753221c /stylesheets/lfs-xsl/xhtml
parent9512d6c7ba21e5765754b53db08c55851fecdc05 (diff)
Remove all &#xxx; occurences
- replace some characters by their utf-8 encoded equivalent (and change encoding in the <?xml?> line - replace &#xa; with a true newline char. This is somewhat more readable anyway.
Diffstat (limited to 'stylesheets/lfs-xsl/xhtml')
-rw-r--r--stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl b/stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
index da57f7395..f6780385a 100644
--- a/stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
+++ b/stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
+<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
@@ -294,7 +294,9 @@
</td>
</xsl:when>
<xsl:when test="$numcols &gt; 3">
- <td>&#160;</td>
+ <!-- The space between <td> and </td> is a non breakable
+ space (unicode A0) encoded in utf-8.-->
+ <td> </td>
</xsl:when>
<xsl:otherwise/>
</xsl:choose>