Skip to content

Commit 280dabe

Browse files
committed
update regex dep
1 parent 38b3516 commit 280dabe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ log = "0.3"
2424
env_logger = "0.3"
2525
toml = { version = "0.2", features = ["serde"] }
2626
open = "1.1"
27-
regex = "0.1.80"
27+
regex = "0.2.1"
2828

2929
# Watch feature
3030
notify = { version = "3.0", optional = true }

src/renderer/html_handlebars/hbs_renderer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fn build_header_links(mut html: String) -> String {
242242
}).collect::<String>();
243243

244244
format!("<a class=\"header\" href=\"#{id}\" name=\"{id}\"><{h}>{text}</{h}></a>", h=header, id=id, text=text)
245-
});
245+
}).into_owned();
246246
}
247247

248248
html

0 commit comments

Comments
 (0)