From 4637d50cfc003d638796a581f1ea8df16da879c0 Mon Sep 17 00:00:00 2001 From: Elrond Date: Thu, 17 Jan 2013 23:55:49 +0100 Subject: [PATCH] Remove useless spaces in comment stuff. When rendering a comment, we had a lot of whitespace. And some of it made it into the rendered page: """abc """ the trailing space gets rendered and looks ugly. --- mediagoblin/templates/mediagoblin/user_pages/media.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 10b48296..0d1177b8 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -127,20 +127,20 @@ - {{ comment_author.username -}} + {{- comment_author.username -}} {% trans %}at{% endtrans %} - {{ comment.created.strftime("%I:%M%p %Y-%m-%d") }} + {{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}} :
- {% autoescape False %} + {% autoescape False -%} {{ comment.content_html }} - {% endautoescape %} + {%- endautoescape %}
{% endfor %} -- 2.25.1