django-static
django-static copied to clipboard
Is it safe to use slimcontent html around other slimcontent tags ?
Hi there,
My question is pretty simple : is it safe to wrap a complete html page (including some js and css content slimming) or should I close my {% slimcontent "html" %} tag before any other slimming content tag and reopen it right after?
Thanks in advance!
Have you tried it? I'm not sure how Django's templating engine works in terms of priorities.
Have you tried this? http://www.davidcramer.net/code/369/spaceless-html-in-django.html