djangosnippets.org: Latest snippets posted by Mirrorballhttp://djangosnippets.org/users/Mirrorball/2007-08-01T00:57:54.017005-05:00MirrorballAutomatic Paragraphs
2007-08-01T00:57:54.017005-05:00Mirrorballhttp://djangosnippets.org/snippets/349/<p>I just converted the autop filter from Drupal (which is itself based on a Wordpress filter) from PHP to Python. I had to change the format of the regular expressions a bit and make them raw strings, but otherwise the function is unchanged. It should work exactly like the original …</p>
Freely redistributable