The document you linked says it doesn't make it safe to use, but rather helps in fixing syntax errors.
" escapejs
Escapes characters for use in JavaScript strings. This does not make the string safe for use in HTML, but does protect you from syntax errors when using templates to generate JavaScript/JSON."
And there is also the CSS context, using things like expression which can execute JavaScript. I'm just saying it will be great to have filtering context for those
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.