summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-05-04 10:29:39 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-05-04 10:29:39 -0700
commit56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d (patch)
treef55372884bda68b02463e500f3c8088b690caad6 /tools
parent19f9ca13908a5e1670ac1b38774242d1fc5f0a78 (diff)
parent18cbc618229f91b5d84a36dd7a95c2628b60da5e (diff)
downloadpackages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.zip
packages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.tar.gz
packages_apps_Browser-56c647bc14d70cb0abb7b8e8bb05f5dd96b1796d.tar.bz2
am 18cbc618: am 907c0563: Merge "Error in search engine script"
* commit '18cbc618229f91b5d84a36dd7a95c2628b60da5e': Error in search engine script
Diffstat (limited to 'tools')
-rwxr-xr-xtools/get_search_engines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/get_search_engines.py b/tools/get_search_engines.py
index bd6e5f8..86393f1 100755
--- a/tools/get_search_engines.py
+++ b/tools/get_search_engines.py
@@ -86,7 +86,7 @@ class SearchEngineManager(object):
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