just tried to reproduce on https://blog.futtta.be/2021/02/18/autoptimize-image-optimization-to-be-less-lazy-with-pictures/ but no errors here mhatdreamsdotdk .. can you share a URL where you have quotes in the title (there are many different types of quotes and even here on the forum they can get altered)?
frank
Hi
Thanks for responding. I have the problem on this site:
http://chemicalworld.dk.linux233.unoeuro-server.com/p/filterpatron-rustfri-10-400my/
I have pinpointed the problem to occure when I run the post data through this function from Elementor:
Elementor\Plugin::instance()->frontend->get_builder_content()
So I am guessing it is somewhat of a compatiblity issue with that plugin
/Martin
hmm, afraid I see a JS error in the browser console now (with AO JS opt. off);

and indeed the inline JS code is broken as the inch-sign, being a quote, closes the string:

and that will cause the JS minifier to spit out that JSMin_UnterminatedStringException indeed.
based on a quick examination of the HTML source it looks like the JS-code is your theme’s, so you’ll have to ask the theme developer to escape the product name when outputting it in the JS (this would actually be a security issue too).
as a workaround: make sure NOT to “also aggregate inline JS” and I *think* all will be fine.
hope this helps,
frank