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

Function isForbiddenTag

static/vuejs/vue.js:8181–8189  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

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

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected