web/htmlwidgets.py
branchstable
changeset 2996 866a2c135c33
parent 2757 c8e28e1754f0
child 3796 f4e924106fdc
--- a/web/htmlwidgets.py	Tue Aug 25 19:42:19 2009 +0200
+++ b/web/htmlwidgets.py	Tue Aug 25 22:57:47 2009 +0200
@@ -75,7 +75,7 @@
             self.w(u'</ul>\n')
         self.w(u'</div>\n')
         if self.shadow:
-            self.w(u'<div class="shadow">&nbsp;</div>')
+            self.w(u'<div class="shadow">&#160;</div>')
 
     def _render(self):
         if self.id:
@@ -191,7 +191,7 @@
         self.value = value
 
     def _render(self):
-        self.w(u'<li><div><span class="label">%s</span>&nbsp;'
+        self.w(u'<li><div><span class="label">%s</span>&#160;'
                u'<span class="value">%s</span></div></li>'
                % (self.label, self.value))