Replacing that line in autoptimizeBase.php has corrected the problem, and doesn’t seem to have had any negative effects. Thanks again.
Thanks! I love your plugin and appreciate you taking the time to find a fix.
Sure. Here’s the source of my page head:
https://gist.github.com/stephenjbell/808f38052cde24f53d3b
Here’s how it looks when “Optimize HTML code?” is checked in Autoptimize:
https://gist.github.com/stephenjbell/5d9392b70bd83b41337a
This isn’t that obscure of an issue. I’m running into exactly the same thing today with ASCII art. Backslashes are being removed for me even if the whole block is inside of “noptimize” tags, as specified above.