diff --git a/progit/templates/file.html b/progit/templates/file.html
index b2548a1..4d1d1b4 100644
--- a/progit/templates/file.html
+++ b/progit/templates/file.html
@@ -29,7 +29,7 @@
{% if output_type=='file' %}
{% autoescape false %}
- {{ content }}
+ {{ content | format_loc}}
{% endautoescape %}
{% else %}