bvmyeha88 / django-gravatar

Automatically exported from code.google.com/p/django-gravatar
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

URL Construction does not print out ampersand correctly #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using:
{% gravatar_img_for_email comment.email 40 %}

It generates the following link:
<img src="http://www.gravatar.com/avatar/foo/?default=wavatar&amp;amp;s=40" 
height="40" width="40"/>

As you can see, the ampersand is not being printed correctly, and I'm 
receiving a 80x80-sized image which is then resized by the img tag, not very 
efficient.

Original issue reported on code.google.com by kris...@gmail.com on 27 Jun 2009 at 11:21