Suddenly @dalescher found out (#4) another critical bug: hmin 0.5.3 strip spaces AFTER tags in cases like this:
<span>love it</span> totally
==> <span>love it</span>totally
.
Correct behaviour will be like this:
<span>love it</span> totally
==> <span>love it</span> totally
.
Now fixes released. Install from PyPI and use them for the greater good.
Also:
- Added tests for python 3.9 and django 3.1
- Optimized disabled middleware conditions