twaddington / django-gravatar

Essential Gravatar support for Django. Features helper methods, templatetags and a full test suite!
MIT License
149 stars 33 forks source link

Encode URL to pass XHTML 1.0 Strict validation tests #5

Closed phrac closed 12 years ago

phrac commented 12 years ago

Much better way of escaping ampersands as suggested by @twaddington using escape from django.utils.html. This way still passes XHTML 1.0 Strict validation tests.

twaddington commented 12 years ago

Much better, thanks for the patch!