We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c36551 commit 56c58b2Copy full SHA for 56c58b2
src/validation.rs
@@ -417,7 +417,7 @@ mod content {
417
// Check only those xrefs that have labels. Skip unsupported, label-less xrefs, which are reported elsewhere.
418
let xref_regex = Regex::new(r"xref:(\S+)\[\S+.*?\]").unwrap();
419
// This regex checks only the captured content of the xref.
420
- let path_based_regex = Regex::new(r"\S+\.(?:adoc|asciidoc)").unwrap();
+ let path_based_regex = Regex::new(r"\S+\.(?:adoc|asciidoc)$").unwrap();
421
422
let mut issues = Vec::new();
423
0 commit comments