Open phstc opened 1 year ago
Great troubleshooting by Marco on StackOverflow https://stackoverflow.com/a/76829914/464685
Apparently, the webversion of juice uses an extremely outdated version which gives a different behaviour because a different CSS parser is used.
This seems to be a big regression compared with the demo website. The only version I could reproduce the demo website output (not keeping style
tags) was version 1.0.0.
I'm trying to remove all
<style>
from an HTML, but juice is keeping some out.If I paste the HTML on the demo website it removes all
<style>
🤷♂️I'm using juice 9.1.0.
Sample RunKit https://runkit.com/embed/fjqdnm3ckkdv (change the output from Rendered HTML to Full Text)
Any ideas on what it could be?
I did try with the same options as on the demo website, but still, it did not work. The most important option is
removeStyleTags
, but that'strue
by default.