Reputation: 1057
I have a layout template that is xml and has no <script> tag in it. However when the page is generated <script/> has been generated as the first child element of the root element. Is there any way to turn this off?
Upvotes: 1
Views: 101
Reputation: 20674
That's not default behaviour. Can you check the html of your view and make sure there is no empty script in there?
Upvotes: 1