Closed ChristianMurphy closed 3 years ago
Parser crashes when there is a closing parenthesis after autolink
├── micromark-extension-gfm@0.3.2 └── micromark@2.11.2
v15.2.1
7.0.8
const micromark = require("micromark/lib"); const gfmSyntax = require("micromark-extension-gfm"); micromark("www.a.)", "utf-8", { extensions: [gfmSyntax()] });
Text should display as
www.a.)
AssertionError [ERR_ASSERTION]: expected non-empty token (`literalAutolinkWwwPath`)
^--- well wtf, GH...
Subject of the issue
Parser crashes when there is a closing parenthesis after autolink
Your environment
v15.2.1
, npm7.0.8
Steps to reproduce
Expected behavior
Text should display as
www.a.)
Actual behavior