Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
bounce links off outgoing.m.o (bug 571123)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalogh committed Jun 10, 2010
1 parent f456220 commit 3ce23bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/firefoxcup/twitter.py
Expand Up @@ -74,4 +74,6 @@ def cache_tweets(lang):
def _process_tweet(tweet):
# linkify urls, tags (e.g. #hashtag, @someone)
tweet = parser.parse(tweet).html
return jinja2.Markup(tweet)
s = LinkifiedTranslation(localized_string=tweet)
s.clean()
return jinja2.Markup(s.localized_string_clean)

0 comments on commit 3ce23bf

Please sign in to comment.