diff -r 0a02c433f52d -r 5883ce99ee12 Helpviewer/OpenSearch/OpenSearchReader.py --- a/Helpviewer/OpenSearch/OpenSearchReader.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Helpviewer/OpenSearch/OpenSearchReader.py Sun Nov 03 15:58:22 2013 +0100 @@ -71,8 +71,8 @@ engine.suggestionsUrlTemplate(): continue - if (not type_ or \ - type_ == "text/html" or \ + if (not type_ or + type_ == "text/html" or type_ == "application/xhtml+xml") and \ engine.suggestionsUrlTemplate(): continue @@ -104,8 +104,8 @@ engine.setSuggestionsParameters(parameters) engine.setSuggestionsMethod(method) elif not type_ or \ - type_ == "text/html" or \ - type_ == "application/xhtml+xml": + type_ == "text/html" or \ + type_ == "application/xhtml+xml": engine.setSearchUrlTemplate(url) engine.setSearchParameters(parameters) engine.setSearchMethod(method)