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

Function isForbiddenTag

static/vuejs/vue.common.js:8187–8195  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

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

Callers 1

parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected