(node, data, config)
| 1293 | (assert) => { |
| 1294 | let seenConfig = null; |
| 1295 | const hook = (node, data, config) => { |
| 1296 | seenConfig = config; |
| 1297 | if (data.tagName === 'widen-me') { |
| 1298 | data.allowedTags.extra = true; |
| 1299 | } |
| 1300 | }; |
| 1301 | |
| 1302 | DOMPurify.addHook('uponSanitizeElement', hook); |
| 1303 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected