Skip to content

Commit

Permalink
use mark_safe in tel filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Maxwell committed Aug 6, 2009
1 parent b196b95 commit 5d1ceff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tel/templatetags/tel.py
@@ -1,7 +1,7 @@
import re
import string

from django.template.defaultfilters import safe
from django.utils.safestring import mark_safe
from django.template import Node


Expand Down Expand Up @@ -89,7 +89,7 @@ def tel(raw):
filter safe, so that the HTML will not be escaped when rendered.
'''
return safe(telurl(raw))
return mark_safe(telurl(raw))

def telurl(phone):
"""
Expand Down

0 comments on commit 5d1ceff

Please sign in to comment.