--single-quotes doesn't work as expected
caseywebdev opened this issue · comments
I tried to use --single-quotes
and noticed it made no difference in the output. Dug through the code and it looks like this line doesn't actually do anything because .replace
doesn't mutate the original string.
The line would need to be more like
htmlMeta[metaKey] = metaContent.replaceAll('"', "'");