typelevel / Laika

Site and E-book Generator and Customizable Text Markup Transformer for sbt, Scala and Scala.js
https://typelevel.org/Laika/
Apache License 2.0
410 stars 44 forks source link

Markdown: allow URLs with nested parenthesis in links #514

Closed jenshalm closed 1 year ago

jenshalm commented 1 year ago

The following syntax is supported by most parsers:

This is a [link](https://foo.com/bar?param=some(parens)here).

Laika did not previously support this and cut the URL at the first closing parenthesis. This improvement is a prerequisite for fixing #506 properly.