cabforum / build-guidelines-action

Action to build Pandoc-flavored Guidelines into their final form
0 stars 3 forks source link

Properly handle fragment identifiers to other docs #10

Closed sleevi closed 3 years ago

sleevi commented 3 years ago

The regular expression used to test for broken links was incorrectly testing for any fragment identifier, rather than fragment identifiers within the current document. This fixes it so that links to other documents, such as https://tools.ietf.org/html/rfc5280#section-4.1 , don't trigger warnings incorrectly.

Fixes https://github.com/cabforum/build-guidelines-action/issues/6