Closed Tymvie closed 2 years ago
Thanks for reporting, I'll look into it, but I will likely (have to) stop AO's image optimization from acting on img tags in script tags, if not the chance of things breaking is too high anyway ..
just so I'm clear; this is when using the "image optimization" option on the "images" tab, right?
@futtta yes
Additionally; can you test if this also happens when "lazyload images" is on (it should not)?
@futtta yes, this does not happen when "lazyload images" is enabled
@tymvie I just committed a fix, can you download the beta and test?
@futtta thank you, it works
@futtta I can also confirm that this problem does not appear when the beta with the fix is installed.
just fyi; This was released as part of AO 3.0.4 earlier today :)
have a nice weekend and thank you for your assistance!
@futtta thank you, enjoy your weekend!
Hello,
Some plugins insert images into script tags, for example:
Autoptimize does not add backslashes before quotation marks. Therefore, the tag is broken:
Thanks for the great plugin