I'm using Google's puppeteer to read HTML, make some changes to it, and save it to a new HTML file.
Almost everything is working properly, except puppeteer is escaping double-quote characters ("
) as "
inside the style
attribute.
For example:
style='font-size:11.0pt;font-family:"Arial",sans-serif;
color:#D99594'
becomes:
style="font-size:11.0pt;font-family:"Arial",sans-serif;
color:#D99594"
This is affecting not only the output HTML, but some of the processing I'm doing within Puppeteer.
I believe I've ruled out encoding as an issue. Any ideas or fixes?
Thanks!