blag / django-wall

Automatically exported from code.google.com/p/django-wall
MIT License
0 stars 0 forks source link

Redo the way that HTML tags are handled in user supplied items. #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently there is a flag in each Wall object that indicates whether or not
HTML tags are allowed. (By default they are not.) The implementation for
this capability involves running the striptags templatetag in the template
display pages when HTML is not allowed. Pretty bogus really even though it
works.

Much better would be a check during form validation as well as a further
check in the case where HTML is allowed that ensures that the supplied tags
are clean and proper.

Original issue reported on code.google.com by rockmhow...@gmail.com on 9 Feb 2009 at 9:16