Mercurial > public > sg101
diff gpp/templates/membermap/markdown.html @ 128:48621ba5c385
Fixing #36, Smilify doesn't work when a smiley appears first before other text. Refactored the smiley system to produce markdown as well as HTML.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 01:43:32 +0000 |
parents | dbd703f7d63a |
children | 13d052fbe4f1 |
line wrap: on
line diff
--- a/gpp/templates/membermap/markdown.html Mon Nov 16 01:00:28 2009 +0000 +++ b/gpp/templates/membermap/markdown.html Fri Nov 20 01:43:32 2009 +0000 @@ -1,4 +1,4 @@ {% load markup %} {% load smiley_tags %} {% load avatar_tags %} -{% avatar entry.user "left" %}<a href="{% url bio-view_profile username=entry.user.username %}">{{ entry.user.username }}</a>:<br />{{ entry.message|markdown:"safe"|smilify }} +{% avatar entry.user "left" %}<a href="{% url bio-view_profile username=entry.user.username %}">{{ entry.user.username }}</a>:<br />{{ entry.message|smiley_markdown|markdown:"safe" }}