kordamp / markdown-gradle-plugin

Markdown/HTML plugin for gradle
Apache License 2.0
71 stars 51 forks source link

Consider anchor references when replacing markdown extensions #22

Closed wawe closed 4 years ago

wawe commented 7 years ago

The regex used for matching extensions in links requires the href to end immediately after the extension. Links with appended HTML anchor references therefore will not be matched.

This is fixed by allowing both the end-of-string as well as a number sign to be matched.