fix backlinks detection
This commit is contained in:
parent
cb5ecd2fff
commit
bcf2d846fc
1 changed files with 1 additions and 1 deletions
|
@ -452,5 +452,5 @@ fn preprocess_markdown(string: String) -> String {
|
|||
fn normalize_name(filename: &str) -> String {
|
||||
let decoded = percent_decode_str(filename).decode_utf8_lossy();
|
||||
let result = decoded.strip_suffix(".md");
|
||||
String::from(result.unwrap_or(filename))
|
||||
String::from(result.unwrap_or(decoded.as_ref()))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue