aboutsummaryrefslogtreecommitdiff
path: root/glifestream/filters/twyntax.py
diff options
context:
space:
mode:
Diffstat (limited to 'glifestream/filters/twyntax.py')
-rw-r--r--glifestream/filters/twyntax.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/glifestream/filters/twyntax.py b/glifestream/filters/twyntax.py
index e2bf0b7..34134c7 100644
--- a/glifestream/filters/twyntax.py
+++ b/glifestream/filters/twyntax.py
@@ -14,15 +14,14 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
import re
-from django.template.defaultfilters import urlizetrunc
-
def parse(s, type='twitter'):
+ from glifestream.stream.templatetags.gls_filters import gls_urlizetrunc
if type == 'twitter':
s = s.split(': ', 1)[1]
s = hash_tag(s, type)
s = at_reply(s, type)
- s = urlizetrunc(s, 45)
+ s = gls_urlizetrunc(s, 45)
return s

Return to:

Send suggestions and report system problems to the System administrator.