I'm doing a run through the admin interface, looking for non-escaping
problems.

One problem surfaced more or less immediately, though: the
"unordered_list" filter. Wrapping that in an escaped block or passing
the results through the "escape" filter obviously doesn't work. We
*want* the <li> elements to have meaning. However, {{ obj_bag|
unordered_list }} is error-prone if any of the model __str__ methods
returns strings containing characters that should be escaped.

Is there any alternative to creating an escaped_unordered_list tag? (Any
better name for this tag? It's too long)

[Note: useful responses to this question do not include "auto-escaping
would be nice". That is not the issue here and it gets tiring reading
it.]

Thanks,
Malcolm




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to