update regex dep
This commit is contained in:
parent
38b3516b60
commit
280dabecd7
|
@ -24,7 +24,7 @@ log = "0.3"
|
|||
env_logger = "0.3"
|
||||
toml = { version = "0.2", features = ["serde"] }
|
||||
open = "1.1"
|
||||
regex = "0.1.80"
|
||||
regex = "0.2.1"
|
||||
|
||||
# Watch feature
|
||||
notify = { version = "3.0", optional = true }
|
||||
|
|
|
@ -242,7 +242,7 @@ fn build_header_links(mut html: String) -> String {
|
|||
}).collect::<String>();
|
||||
|
||||
format!("<a class=\"header\" href=\"#{id}\" name=\"{id}\"><{h}>{text}</{h}></a>", h=header, id=id, text=text)
|
||||
});
|
||||
}).into_owned();
|
||||
}
|
||||
|
||||
html
|
||||
|
|
Loading…
Reference in New Issue