fix [[wikilink]] detection regex
This commit is contained in:
parent
fd867ccb7b
commit
7e530f79a9
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ impl<'a> Iterator for GardenParser<'a> {
|
|||
}
|
||||
|
||||
fn preprocess_markdown(string: String) -> String {
|
||||
let double_brackets = Regex::new(r"\[\[(?P<inner>[\w .]+)\]\]").unwrap();
|
||||
let double_brackets = Regex::new(r"\[\[(?P<inner>[\w\- .]+)\]\]").unwrap();
|
||||
let finder = LinkFinder::new();
|
||||
|
||||
let result = double_brackets
|
||||
|
|
Loading…
Reference in a new issue