Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move space escaping to individual tagline templates.

  • Loading branch information...
commit 9d97503ccbe950a5bc207dcd9ea7026de750bc95 1 parent e673f1f
Max Goodman authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 r2/r2/templates/message.html
View
6 r2/r2/templates/message.html
@@ -58,16 +58,14 @@
thing.subreddit.path)
if not thing.dest:
thing.dest = subreddit
- author = thing.updated_author % dict(
+ author = thing.updated_author.replace(' ', ' ') % dict(
author=author,
subreddit=subreddit)
- taglinetext = thing.taglinetext % dict(
+ taglinetext = thing.taglinetext.replace(' ', ' ') % dict(
when=capture(thing_timestamp, thing, thing.timesince),
author=u"<b>%s</b>" % author,
dest=u"<b>%s</b>" % thing.dest)
-
- taglinetext = taglinetext.replace(' ', '&#32;')
%>
${unsafe(taglinetext)}
</span>
Please sign in to comment.
Something went wrong with that request. Please try again.