jamesturk/django-markupfield — pull request #14 by Markush2010 (2013-08-06 01:56:03+00:00)
Title: Flip urlize and linebreaks conversion for plain rendering for cleaner rendering

Django's urlize is somewhat wired: e.g 'Foo http://bar.com' will result in
`

Foo http://bar.com

`
for `urlize(linebreaks(escape(text)))`. Flipping `urlize` and `linebreaks` results in the expected output with clean line breaks / paragraphs:
`

Foo http://bar.com

`