yshavit / mdq

MIT License
1 stars 0 forks source link

test and probably fix escaping of brackets within links #88

Open yshavit opened 6 days ago

yshavit commented 6 days ago

I have no code for this today, so I'm assuming it's broken (and filing as a bug accordingly).

From the GFM spec:

Brackets are allowed in the link text only if (a) they are backslash-escaped or (b) they appear as a matched pair of brackets, with an open bracket [, a sequence of zero or more inlines, and a close bracket ].