summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-05-03 16:37:49 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-05-03 16:37:49 -0700
commit18cbc618229f91b5d84a36dd7a95c2628b60da5e (patch)
tree10cea11107578bbf35e3183d8043403abca08e30
parentdb2c56a0c816363670498298ab017cae5bb05745 (diff)
parent907c05639845716fb647c6367958aa965eb44fac (diff)
downloadpackages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.zip
packages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.tar.gz
packages_apps_Browser-18cbc618229f91b5d84a36dd7a95c2628b60da5e.tar.bz2
am 907c0563: Merge "Error in search engine script"
* commit '907c05639845716fb647c6367958aa965eb44fac': Error in search engine script
-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 cd73423..8ac9b6f 100755
--- a/tools/get_search_engines.py
+++ b/tools/get_search_engines.py
@@ -87,7 +87,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