summaryrefslogtreecommitdiffstats
path: root/askbot/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-29 22:55:08 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-29 22:55:08 -0400
commit89da4175785a27edcd1a9b1985e662a83c95213c (patch)
treebe598498612ea721791199e2342272c5fb726214 /askbot/templates
parent86c38acf1038c23f0f4bd83a980cf5369834eaf5 (diff)
downloadaskbot-89da4175785a27edcd1a9b1985e662a83c95213c.tar.gz
askbot-89da4175785a27edcd1a9b1985e662a83c95213c.tar.bz2
askbot-89da4175785a27edcd1a9b1985e662a83c95213c.zip
moved a setting from one section to another and fixed a bug in display of user webpage url
Diffstat (limited to 'askbot/templates')
-rw-r--r--askbot/templates/macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/templates/macros.html b/askbot/templates/macros.html
index 6c6b22d4..6545e76e 100644
--- a/askbot/templates/macros.html
+++ b/askbot/templates/macros.html
@@ -658,8 +658,8 @@ answer {% if answer.accepted() %}accepted-answer{% endif %} {% if answer.author_
{%- macro user_website_link(user, max_display_length=25) -%}
{% if user.website and (not user.is_blocked()) %}
<a
- href="{{user.website}}"
- title="{% trans username=user.username|escape, url=user.website %}{{username}}'s website is {{url}}{% endtrans %}"
+ href="{{user.website|escape}}"
+ title="{% trans username=user.username|escape, url=user.website|escape %}{{username}}'s website is {{url}}{% endtrans %}"
{% if user.can_have_strong_url() == False %}
rel="nofollow"
{% endif %}