[Sugar-devel] [PATCH] Remove nbsp chars from the html string before parsing
Tomeu Vizoso
tomeu.vizoso at collabora.co.uk
Wed Aug 4 14:03:51 EDT 2010
---
release | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/release b/release
index d601ff9..52116b0 100755
--- a/release
+++ b/release
@@ -94,6 +94,9 @@ class ReleaseReport(object):
writer = formatter.DumbWriter(out)
form = formatter.AbstractFormatter(writer)
+ entry['summary_detail']['value'] = \
+ entry['summary_detail']['value'].replace(' ', ' ')
+
html_parser = htmllib.HTMLParser(form)
html_parser.feed(entry['summary_detail']['value'])
html_parser.close()
--
1.7.2
More information about the Sugar-devel
mailing list