django-drip icon indicating copy to clipboard operation
django-drip copied to clipboard

strip_tags nuking <a> hrefs.

Open bryanhelmig opened this issue 12 years ago • 0 comments

Since we turn HTML -> text via strip tags, we end up with borked links, IE:

<a href="http://example.com/">my example</a>

...turns into...

my example

...but should probably be...

my example (http://example.com/)

Also, this same sort of bug might exist for line breaks and such.

bryanhelmig avatar Nov 01 '12 21:11 bryanhelmig