Skip to content
Browse files

am 18cbc61: am 907c056: Merge "Error in search engine script"

* commit '18cbc618229f91b5d84a36dd7a95c2628b60da5e':
  Error in search engine script
  • Loading branch information...
2 parents 19f9ca1 + 18cbc61 commit 56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d Conley Owens committed with Android Git Automerger May 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/get_search_engines.py
View
2 tools/get_search_engines.py
@@ -86,7 +86,7 @@ def getXmlString(self, str):
str = str.strip('"')
str = str.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;')
str = str.replace('"', '&quot;').replace('\'', '&apos;')
- str = re.sub(r'\\x([a-fA-F0-9]+)', r'&#x\1;', str)
+ str = re.sub(r'\\x([a-fA-F0-9]{1,4})', r'&#x\1;', str)
return str

0 comments on commit 56c647b

Please sign in to comment.
Something went wrong with that request. Please try again.