﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5202	urlize filter before linebreaks doesn't work correctly	chinkanga@…	Adrian Holovaty	"given:
{{{
p = ""www.example.com""
}}}
in template:
{{{
{{ p|linebreaks|urlize }}
}}}
Your link will not be urlize'd.

However if given (note the line break):
{{{
p = ""My test www.example.com
oh boy""
}}}
using the same template, in my HTML I get:

{{{
<p>My test <a href=""http://www.example.com%3Cbr"" rel=""nofollow"">www.example.com<br></a> /&gt;oh boy</p>
}}}

It looks like the <br /> is getting broken.

Workaround: switch the order of the filters!

Possible Fixes: Make urlize treat the <br /> nicely.  Or consider any angle bracket to be a word boundry (angle brackets aren't valid in URLs anyway, right?)"		closed	Template system	0.96		wontfix	urlize linebreaks		Unreviewed	0	0	0	0	0	0
