comparison 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
comparison
equal deleted inserted replaced
127:2d299909e074 128:48621ba5c385
1 {% load markup %} 1 {% load markup %}
2 {% load smiley_tags %} 2 {% load smiley_tags %}
3 {% load avatar_tags %} 3 {% load avatar_tags %}
4 {% avatar entry.user "left" %}<a href="{% url bio-view_profile username=entry.user.username %}">{{ entry.user.username }}</a>:<br />{{ entry.message|markdown:"safe"|smilify }} 4 {% 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" }}