You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to enable Content Security Policy (CSP), we came cross direct use of inline css in the package ansi-html and ansi-html-community in file https://github.com/Tjatse/ansi-html/blob/master/index.js. i.e. return ot[0] === '<' ? ot : '<span style="' + ot + ';">' Which is flagged as CSP violation. To fix this, we need to replace usage of eval/dynamic function to something safe. Can you please take care in your package ansi-html
The text was updated successfully, but these errors were encountered:
Hi,
While trying to enable Content Security Policy (CSP), we came cross direct use of inline css in the package ansi-html and ansi-html-community in file https://github.com/Tjatse/ansi-html/blob/master/index.js. i.e.
return ot[0] === '<' ? ot : '<span style="' + ot + ';">'
Which is flagged as CSP violation. To fix this, we need to replace usage of eval/dynamic function to something safe. Can you please take care in your package ansi-htmlThe text was updated successfully, but these errors were encountered: