diff --git a/tutorial/mdbook-diff2html/src/preprocessor.rs b/tutorial/mdbook-diff2html/src/preprocessor.rs index 962f061..adc21a9 100644 --- a/tutorial/mdbook-diff2html/src/preprocessor.rs +++ b/tutorial/mdbook-diff2html/src/preprocessor.rs @@ -102,7 +102,7 @@ fn to_absolute_path(source_directory: &Path, source_file_path: Option<&Path>, re fn diff_to_html(diff: &str, div_id_counter: usize) -> String { let diff = diff.replace('$', r#"${"$"}"#); let diff = diff.replace('`', r#"${"`"}"#); - format!(r#"
+ format!(r#"