MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isForbiddenTag

Function isForbiddenTag

static/vuejs/vue.esm.js:8185–8193  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

8183}
8184
8185function isForbiddenTag (el) {
8186 return (
8187 el.tag === 'style' ||
8188 (el.tag === 'script' && (
8189 !el.attrsMap.type ||
8190 el.attrsMap.type === 'text/javascript'
8191 ))
8192 )
8193}
8194
8195var ieNSBug = /^xmlns:NS\d+/;
8196var ieNSPrefix = /^NS\d+:/;

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected