summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2010-04-13 13:33:12 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2010-04-13 13:33:12 -0400
commit681832c3cd040433a488a400693b68f213bf7078 (patch)
tree66e76f2775c6136f6f3ae8eaaad7f68c9b4c2f61
parentbd4e7f2459e34957aaae59b9be807d6dff5ec1eb (diff)
downloadpygobject-681832c3cd040433a488a400693b68f213bf7078.tar.gz
pygobject-681832c3cd040433a488a400693b68f213bf7078.tar.xz
pygobject-681832c3cd040433a488a400693b68f213bf7078.zip
codegen/docextract_to_xml.py: One more &...; replacement (&nbsp;).master
* codegen/docextract_to_xml.py: Replace &nbsp; which also causes errors with a regular space.
-rwxr-xr-xcodegen/docextract_to_xml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen/docextract_to_xml.py b/codegen/docextract_to_xml.py
index a219e17..775b57d 100755
--- a/codegen/docextract_to_xml.py
+++ b/codegen/docextract_to_xml.py
@@ -35,6 +35,7 @@ def escape_text(unescaped_text):
escaped_text = string.replace(escaped_text, '&percnt;', '%')
escaped_text = string.replace(escaped_text, '&commat;', '@')
escaped_text = string.replace(escaped_text, '&num;', '')
+ escaped_text = string.replace(escaped_text, '&nbsp;', ' ')
# This represents a '/' before or after an '*' so replace with slash but
# with spaces.
escaped_text = string.replace(escaped_text, '&sol;', ' / ')