diff --git a/pagure/templates/blame.html b/pagure/templates/blame.html
index 311366a..030d072 100644
--- a/pagure/templates/blame.html
+++ b/pagure/templates/blame.html
@@ -100,67 +100,60 @@
{% if content %}
- {% if output_type in ('file','binary','image','markup', 'blame') %}
- {% if content %}
- {% if output_type in ('file','binary','image','markup', 'blame') %}
-
- {% endif %}
- {% endif %}
+
{% autoescape false %}
{{ content | blame_loc(repo, username, blame) }}
{% endautoescape %}
- {% endif %}
{% else %}
No content found in this repository
{% endif %}