From 99801bde23464892b46614a650c2307d71027b7a Mon Sep 17 00:00:00 2001 From: Dolapo Falola Date: Tue, 26 Apr 2011 09:40:40 -0400 Subject: [PATCH] use white-space:pre-wrap an altogether better option is to convert it into html (newlines -> br, whitespace ->  ) so you can use white-space:normal --- templates/tag.html | 2 +- templates/user.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/tag.html b/templates/tag.html index 7528f4a..3cc59ec 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -15,7 +15,7 @@

{{ tag }}

{% for snippet in snippets %} {{ snippet.user.pretty_name }}
-
{{ snippet.text|urlize }}
+
{{ snippet.text|urlize }}


{% endfor %}
diff --git a/templates/user.html b/templates/user.html index 9b548a4..7a12308 100644 --- a/templates/user.html +++ b/templates/user.html @@ -27,7 +27,7 @@

{{ user.email }}

{% for snippet in snippets %} {{ snippet.date }}
-
{{ snippet.text|urlize }}
+
{{ snippet.text|urlize }}


{% endfor %}