Re: Using markdown to clean html

2010-03-20 Thread Brian Neal
On Mar 19, 8:35 am, Tor Nordam wrote: > I'm currently writing a blog application in django, and a part of what > I want to do is allow some HTML in posts and comments. I discovered > yesterday, more or less by accident, that the markdown filter actually > allows some HTML.

Re: Using markdown to clean html

2010-03-20 Thread Tor Nordam
Thank you, that looks good. But just out of curiosity: Does anyone know exactly what, if anything, the markdown template filter does to text with html? Does it allow everything? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Using markdown to clean html

2010-03-19 Thread Jim
My understanding is that these days people tend to suggest this: http://code.google.com/p/html5lib/ . Jim -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

Using markdown to clean html

2010-03-19 Thread Tor Nordam
I'm currently writing a blog application in django, and a part of what I want to do is allow some HTML in posts and comments. I discovered yesterday, more or less by accident, that the markdown filter actually allows some HTML. I've been looking for a list of exactly what markdown allows, but I