Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])
Requirements (place an x in each of the [ ])
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version: v5.1.0
node version: v20.11.1
OS version(s): all
Seems to have broken sometime recently, I'm guessing it is related to #75
Steps to reproduce:
- Have html entities (
&, , etc) in your html template file
Expected result:
Observe html entities are unaffected
Actual result:
Observe that they get double encoded, & becomes &, becomes  
Attachments:
OSS project: https://github.com/gitkraken/vscode-gitlens can see when the settings.html file gets built (https://github.com/gitkraken/vscode-gitlens/blob/e3795f8a80eb43b91b3c7736d7705c6316b921f7/webpack.config.mjs#L323)
Description
Describe your issue here.
What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version:
v5.1.0node version:
v20.11.1OS version(s): all
Seems to have broken sometime recently, I'm guessing it is related to #75
Steps to reproduce:
&, , etc) in your html template fileExpected result:
Observe html entities are unaffected
Actual result:
Observe that they get double encoded,
&becomes&, becomes Attachments:
OSS project: https://github.com/gitkraken/vscode-gitlens can see when the
settings.htmlfile gets built (https://github.com/gitkraken/vscode-gitlens/blob/e3795f8a80eb43b91b3c7736d7705c6316b921f7/webpack.config.mjs#L323)