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