I have a strange problem happening with the Django Admin site, where I store fragments of html inside a text field.

Once I hit save, the field becomes this:

Which is fine -- the HTML renders correctly anyway. The real problem is when I hit save again:

All HTML entities are affected by this bug, including .
Why is this happening?
- OS: Amazon Linux x64
- Python: 2.6
- Django: 1.4
- Database: MySQL 5.5