aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 2e839e8..6b8a9de 100644
--- a/src/index.js
+++ b/src/index.js
@@ -79,11 +79,13 @@ function tokenizeGenerator(prefix, oldParser, config) {
}
}
}
+
eaten = eat(prefix + parsedAttr.eaten)(eaten);
}
return eaten;
}
+
// Return the new tokenizer function
return token;
}
@@ -130,6 +132,7 @@ function filterAttributes(prop, config, type) {
} else {
inScope = x => !isDangerous(x);
}
+
break;
case 'extended':
default:
@@ -206,6 +209,7 @@ function tokenizeFencedCode(oldParser, config) {
}
}
}
+
if (parsedByCustomAttr) {
eaten = eat(prefix + parsedAttr.eaten)(eaten);
}