-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
The parser seems to think that [a] [b] is the same as [a][b].
iex(1)> EarmarkParser.as_ast "[a] [b]\n[a]: a\n[b]: b"
{:ok, [{"p", [], [{"a", [{"href", "b"}, {"title", ""}], ["a"], %{}}], %{}}], []}The standard is a bit undecided. Gruber Markdown seems to do the same interpretation as earmark_parser, while github (and in extentions commonmark) thinks that it should be treated as two separate references.
I'm opening this issue to just track the discepency and see if you think we should do something about it.