summaryrefslogtreecommitdiff
path: root/searx/engines/github.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-12-09 11:44:24 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-12-09 18:59:19 +0100
commit16bdc0baf4f2b56af000337c4a2fa1e689f1220c (patch)
treeab232c3505aa194e8ee30ae7861cc90f6c913023 /searx/engines/github.py
parent28f12ef5a0917b8cefddb4d5f74c9aaeb945355f (diff)
downloadsearxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.tar.gz
searxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.zip
[mod] do not escape html content in engines
Diffstat (limited to 'searx/engines/github.py')
-rw-r--r--searx/engines/github.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/github.py b/searx/engines/github.py
index cc1fc470c..7adef3be9 100644
--- a/searx/engines/github.py
+++ b/searx/engines/github.py
@@ -12,7 +12,6 @@
from urllib import urlencode
from json import loads
-from cgi import escape
# engine dependent config
categories = ['it']
@@ -48,7 +47,7 @@ def response(resp):
url = res['html_url']
if res['description']:
- content = escape(res['description'][:500])
+ content = res['description'][:500]
else:
content = ''