@environmentfilter
def do_urlize(environment, value, trim_url_limit=None, nofollow=False):
 rv = urlize(value, trim_url_limit, nofollow)
 if environment.autoescape:
  rv = Markup(rv)
 return rv

@ environmentfilter def do_urlize ( environment , value , trim_url_limit = None , nofollow = False ) : rv = urlize ( value , trim_url_limit , nofollow ) if environment . autoescape : rv = Markup ( rv ) return rv
converts urls in plain text into clickable links .