I am not sure if this has been reported. I saw some similar issues, but they seemed to be slightly different.
I was trying to add Piwik (Web Analytics Code) to the template which has a line like this:
That line was being re-written, apparently by framework, to:
I'm not entirely sure why, but this fixes the problem, however it concerns me as a bug that, if I am right about the cause, should be addressed.
This workaround fixes the problem.