on master help sign in
[fix] html escape url
commita48028b77103c6e338e1396fa8da266ed0e089b9 authorAdam Tauber <asciimoo@gmail.com> dateSat 4 Oct 2014, 22:50 (12 years ago) parentbbf107a
1 file changed+1−1
searx/templates/default/result_templates/default.html+1−1
searx/templates/default/result_templates/default.html+1−1
@@ -8,6 +8,6 @@
88 <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
99 <p class="url">{{ result.pretty_url }} <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}">cached</a></p>
1010 {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
11− <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>
11+ <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>
1212 </div>
1313</div>