summaryrefslogtreecommitdiff
path: root/ureports
diff options
context:
space:
mode:
authorAurelien Campeas <aurelien.campeas@logilab.fr>2010-04-15 14:00:53 +0200
committerAurelien Campeas <aurelien.campeas@logilab.fr>2010-04-15 14:00:53 +0200
commit68d0bf4da2c30b522bec4ce00f53d612333449e4 (patch)
treef7ec7f8a55b310ff33636b8498cf4cb24bb417ba /ureports
parentdf6b867330e95be13044a1a337801561a7c6a16a (diff)
downloadlogilab-common-68d0bf4da2c30b522bec4ce00f53d612333449e4.tar.gz
[ureports/html writer] nbsp => #160 to please some xml validators
Diffstat (limited to 'ureports')
-rw-r--r--ureports/html_writer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ureports/html_writer.py b/ureports/html_writer.py
index 45ae9c5..56863cf 100644
--- a/ureports/html_writer.py
+++ b/ureports/html_writer.py
@@ -78,7 +78,7 @@ class HTMLWriter(BaseWriter):
else:
self.writeln('<tr class="%s">' % (i%2 and 'even' or 'odd'))
for j in range(len(row)):
- cell = row[j] or '&nbsp;'
+ cell = row[j] or '&#160;'
if (layout.rheaders and i == 0) or \
(layout.cheaders and j == 0) or \
(layout.rrheaders and i+1 == len(table_content)) or \