MCPcopy Create free account
hub / github.com/hackmdio/codimd / preventXSS

Function preventXSS

public/js/render.js:70–72  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

68}
69
70function preventXSS (html) {
71 return filterXSS(html, filterXSSOptions)
72}
73window.preventXSS = preventXSS
74
75export { preventXSS }

Callers 4

pretty.jsFile · 0.90
updateViewInnerFunction · 0.90
slide.jsFile · 0.90
convertSlidesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected