django-htmlmin
django-htmlmin copied to clipboard
Minifier minify pre and script tags
At some places I have found that minifier minify inline script tags and also pre tags. This is problem if we have single line -comments in script tags. This does not happen for every script tag but for 1 out of 8 it is happening, can't understand what is the problem. You can check for pre tags with following code, it is minifying it http://djangosnippets.org/snippets/727/
I did not understand very well the problem.
Could you provide an html snippet reproducing this issue?
I gave the example of that snippet, have a look at that link, it does not minify pre tags.
http://djangosnippets.org/snippets/727/
Thanks
Same for me
Take a look at the EXCLUDE_TAGS setting.