[pygobject] codegen/docextract_to_xml.py: One more &...; replacement ( ).
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] codegen/docextract_to_xml.py: One more &...; replacement ( ).
- Date: Tue, 13 Apr 2010 17:33:47 +0000 (UTC)
commit 681832c3cd040433a488a400693b68f213bf7078
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Tue Apr 13 13:33:12 2010 -0400
codegen/docextract_to_xml.py: One more &...; replacement ( ).
* codegen/docextract_to_xml.py: Replace which also causes
errors with a regular space.
codegen/docextract_to_xml.py | 1 +
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, '%', '%')
escaped_text = string.replace(escaped_text, '@', '@')
escaped_text = string.replace(escaped_text, '#', '')
+ escaped_text = string.replace(escaped_text, ' ', ' ')
# This represents a '/' before or after an '*' so replace with slash but
# with spaces.
escaped_text = string.replace(escaped_text, '/', ' / ')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]