joestump/django-ajax — pull request #18 by grahampage (2011-11-07 16:34:19+00:00)
Title: Add per-call HTML escaping option.

This does two things:

If you encode an iterable object it grabs the appropriate encoder for each element as opposed to donking off to the DefaultEncoder.

Also, it allows you to pass in an htmlescape argument to the encode method. This makes it so you can register an ExcludeEncoder for a User object but only escape arguments when you need them to be, like in a template tag.