Skip to content
Myr

Merge pull request #193 from mozillazg/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixed an issue about urlize function

authored by Armin Ronacher · committed by Armin Ronacher · parents c628ece, 6644893 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:jinja2/utils.py+1 added
282 unmodified lines
283 lead, middle, trail = match.groups()284 if middle.startswith('www.') or (285 '@' not in middle and286 not middle.startswith('http://') and287 not middle.startswith('https://') and288 len(middle) > 0 and289 middle[0] in _letters + _digits and (290 middle.endswith('.org') or291 middle.endswith('.net') or
330 unmodified lines