fix backlinks detection
parent
cb5ecd2fff
commit
bcf2d846fc
|
@ -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 New Issue