Browse Source

Merge pull request #1787 from finn0/fix/infobox

[Fix] oscar: no HTML escaping prior to output
Markus Heiser 5 years ago
parent
commit
6d232e9b69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/templates/oscar/infobox.html

+ 1 - 1
searx/templates/oscar/infobox.html

@@ -6,7 +6,7 @@
     <div class="panel-body">
     <div class="panel-body">
         {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
         {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
 
 
-        {% if infobox.content %}<bdi><p class="infobox_part">{{ infobox.content }}</p></bdi>{% endif %}
+        {% if infobox.content %}<bdi><p class="infobox_part">{{ infobox.content | safe }}</p></bdi>{% endif %}
 
 
         {% if infobox.attributes -%}
         {% if infobox.attributes -%}
         <table class="table table-striped infobox_part">
         <table class="table table-striped infobox_part">