(value)
| 28 | } |
| 29 | |
| 30 | function filterClassValue(value) { |
| 31 | return (value || '') |
| 32 | .split(/\s+/) |
| 33 | .filter(c => c && !isTrashClass(c)) |
| 34 | .join(' ') |
| 35 | } |
| 36 | |
| 37 | const DROP_TAGS = new Set(['style', 'noscript']) |
| 38 | const DROP_ATTRS = new Set(['style']) |
no test coverage detected