+8
-1
lines changedFilter options
+8
-1
lines changed Original file line number Diff line number Diff line change
@@ -120,7 +120,14 @@ export function createPatchFunction (backend) {
120
120
if (
121
121
!inPre &&
122
122
!vnode.ns &&
123
-
!(config.ignoredElements.length && config.ignoredElements.indexOf(tag) > -1) &&
123
+
!(
124
+
config.ignoredElements.length &&
125
+
config.ignoredElements.some(ignore => {
126
+
return ignore instanceof RegExp
127
+
? ignore.test(tag)
128
+
: ignore === tag
129
+
})
130
+
) &&
124
131
config.isUnknownElement(tag)
125
132
) {
126
133
warn(
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4