Skip to content
Browse files

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

* commit '907c05639845716fb647c6367958aa965eb44fac':
  Error in search engine script
  • Loading branch information...
2 parents db2c56a + 907c056 commit 18cbc618229f91b5d84a36dd7a95c2628b60da5e Conley Owens committed with Android Git Automerger
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/get_search_engines.py
View
2 tools/get_search_engines.py
@@ -87,7 +87,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 18cbc61

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