logo

searx

My custom branche(s) on searx, a meta-search engine
commit: a48028b77103c6e338e1396fa8da266ed0e089b9
parent: bbf107ac8bb6d0771115a6d23bdb38ca7e7457bd
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat,  4 Oct 2014 22:50:13 +0200

[fix] html escape url

Diffstat:

Msearx/templates/default/result_templates/default.html2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/templates/default/result_templates/default.html b/searx/templates/default/result_templates/default.html @@ -8,6 +8,6 @@ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3> <p class="url">{{ result.pretty_url }} <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}">cached</a></p> {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %} - <p class="content">{% if result.img_src %}<img src="{{ result.img_src|safe }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p> + <p class="content">{% if result.img_src %}<img src="{{ result.img_src }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p> </div> </div>