From: Elrond Date: Thu, 17 Jan 2013 22:55:49 +0000 (+0100) Subject: Remove useless spaces in comment stuff. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4637d50cfc003d638796a581f1ea8df16da879c0;p=mediagoblin.git 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. --- 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 %}