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 b8499e0 commit 5b30cc1Copy full SHA for 5b30cc1
src/tools/tidy/src/style.rs
@@ -79,11 +79,11 @@ fn line_is_url(line: &str) -> bool {
79
=> state = EXP_URL,
80
81
(EXP_LINK_LABEL_OR_URL, w)
82
- if w.starts_with("http://") || w.starts_with("https://")
+ if w.starts_with("http://") || w.starts_with("https://") || w.starts_with("../")
83
=> state = EXP_END,
84
85
(EXP_URL, w)
86
87
88
89
(_, _) => return false,
0 commit comments