Fix annotation text

This commit is contained in:
2022-12-23 17:14:14 +01:00
parent dc25c6645a
commit f5885abdc6

View File

@@ -29,4 +29,8 @@ pub fn fix_annotation_text(text: &str) -> String {
.replace("[hr]", "")
.replace("\\\"", "\"")
.replace("\\'", "'")
.replace("<p class=\"book\">", "")
.replace("</p>", "")
.replace("<br>", "\n")
.replace("\\n", "\n")
}