Middleware that strips whitespace between html tags copied from David Cramer’s blog http://www.davidcramer.net/code/369/spaceless-html-in-django.html
Bases: object
strips whitespace from all documents whose content type is text/html
Returns the given HTML with all spaces between tags removed. ,but one. One space is left so that consecutive links and other things do not appear glued together slight mod of django.utils.html import strip_spaces_between_tags