diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html
index 43be87615..c3e3a9b84 100644
--- a/searx/templates/simple/macros.html
+++ b/searx/templates/simple/macros.html
@@ -41,7 +41,7 @@
{%- if result.length and not result.thumbnail %}
{{ _('Length') }}: {{ result.length }}
{% endif -%}
{%- if result.views %}{{ _('Views') }}: {{ result.views }}
{% endif -%}
{%- if result.author %}{{ _('Author') }}: {{ result.author }}
{% endif -%}
- {%- if result.metadata %}{{ result.metadata|safe }}
{% endif -%}
+ {%- if result.metadata %}{{ result.metadata }}
{% endif -%}
{%- endmacro -%}
diff --git a/searx/templates/simple/result_templates/code.html b/searx/templates/simple/result_templates/code.html
index 6fba99a3e..29605151d 100644
--- a/searx/templates/simple/result_templates/code.html
+++ b/searx/templates/simple/result_templates/code.html
@@ -11,7 +11,7 @@
{%- if result.repository -%}
{{- '' -}}
{{ _('Repository') }}: {{- ' ' -}}
-
- {{ _('Filename') }}: {{ result.filename|safe }}
+ {{ _('Filename') }}: {{ result.filename }}
{% endif -%}
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html
index 73a2701da..fb4e8293f 100644
--- a/searx/templates/simple/result_templates/map.html
+++ b/searx/templates/simple/result_templates/map.html
@@ -32,10 +32,10 @@
{%- endif %}
{%- for info in result.data -%}
- | {{ info.label }} | {{ info.value|safe }} |
+ | {{ info.label }} | {{ info.value }} |
{%- endfor -%}
{%- for link in result.links -%}
- | {{ link.label }} | {{ link.url_label|safe }} |
+ | {{ link.label }} | {{ link.url_label }} |
{%- endfor -%}
diff --git a/searx/templates/simple/result_templates/paper.html b/searx/templates/simple/result_templates/paper.html
index 074ad9081..de37bd287 100644
--- a/searx/templates/simple/result_templates/paper.html
+++ b/searx/templates/simple/result_templates/paper.html
@@ -84,7 +84,7 @@
{%- endif -%}
{%- if result.metadata %}
- {{ result.metadata|safe }}
+ {{ result.metadata }}
{% endif -%}