Strip whitespace from html, open html as django