Fixed bug with script tags
This commit is contained in:
parent
0593c034c9
commit
445341451c
|
@ -1 +1,4 @@
|
|||
Simple build script that converts markdown files to HTML.
|
||||
<script>
|
||||
test
|
||||
</script>
|
||||
|
|
|
@ -22,9 +22,10 @@ fn convert_file(
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let mut opts = Options::gfm();
|
||||
let mut opts = Options::default();
|
||||
opts.compile.allow_dangerous_html = true;
|
||||
opts.compile.allow_dangerous_protocol = true;
|
||||
opts.compile.gfm_tagfilter = false;
|
||||
let head = std::fs::read_to_string("./head").unwrap_or("".to_owned());
|
||||
|
||||
for entry in walkdir::WalkDir::new("./") {
|
||||
|
|
Loading…
Reference in a new issue