Code rewriting is buggy - wrong <head> closing
I have activated Code Rewriting when I started using Dw recently. I appreciate it closing all tags, as my colleagues don't respect the proper HTML syntax.
But I have encountered a problem: when I open our template, the </head> is moved to the wrong place.
Our template is perfectly fine and correct, but we include some Salesforce AMP Script, and Dw moves the </head> to before this core code we need to run on our emails.
Mind you that inserting code in the <head> is the official recommendation from Salesforce afaik (at least this is how we've been trained by certified instructors).
It's also common practice to have <style> in the <head> so that's another reason not to move the </head>.
