django-static icon indicating copy to clipboard operation
django-static copied to clipboard

Is it safe to use slimcontent html around other slimcontent tags ?

Open jfache opened this issue 15 years ago • 2 comments

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!

jfache avatar Sep 24 '10 14:09 jfache

Have you tried it? I'm not sure how Django's templating engine works in terms of priorities.

peterbe avatar Sep 27 '10 10:09 peterbe

Have you tried this? http://www.davidcramer.net/code/369/spaceless-html-in-django.html

dickbrouwer avatar Dec 19 '10 03:12 dickbrouwer