Links preprocessor: support pluses in file paths

This commit is contained in:
Tomasz Kurcz 2020-05-03 14:50:03 +02:00
parent d665732056
commit b1cf3f117d
1 changed files with 8 additions and 8 deletions

View File

@ -370,7 +370,7 @@ fn find_links(contents: &str) -> LinkIter<'_> {
\{\{\s* # link opening parens and whitespace
\#([a-zA-Z0-9_]+) # link type
\s+ # separating whitespace
([a-zA-Z0-9\s_.\-:/\\]+) # link target path and space separated properties
([a-zA-Z0-9\s_.\-:/\\\+]+) # link target path and space separated properties
\s*\}\} # whitespace and link closing parens"
)
.unwrap();