I think you have to disable the tidy for this template. Otherwise tidy will 
check the resulting document for correct html structure. Because the CSS or 
JS does not contain any HTML markup, it wraps your code with html body and 
prepends the head. 

Aside from this you should include JS and CSS via media placeholders, like 
Gavin already mentioned.

Am Donnerstag, 26. März 2015 22:11:43 UTC+1 schrieb Jamie R. Rytlewski:
>
> So we just recently updated to 11.2 SP2 and now all of our content classes 
> that we used to create JS/CSS are all being wrapped with :
>
> <!DOCTYPE html>
>
>
> <html>
> <head>
>   <title></title>
> </head>
>
>
> <body>
> // this is where my JS and CSS is being put.
> </body>
> </html>
>
> I'm guessing we shouldn't be using JS/CSS in content classes, but that's 
> what I inherited. Do you know if there's a way to not have the CSS/JS be 
> wrapped by tags?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to