Update micromark code and tests for prior commit updating markdownlint-micromark (including micromark to 3.2.0).

This commit is contained in:
David Anson 2023-05-31 20:54:18 -07:00
parent de02503154
commit 22dc6cae84
4 changed files with 8 additions and 18 deletions

View file

@ -1380,12 +1380,7 @@ function micromarkParse(markdown) {
startLine = start["line"];
var endColumn = end["column"],
endLine = end["line"];
var text = null;
try {
text = context.sliceSerialize(token);
} catch (_unused) {
// https://github.com/micromark/micromark/issues/131
}
var text = context.sliceSerialize(token);
if (kind === "enter") {
var previous = current;
history.push(previous);