formatting

This commit is contained in:
sose 2021-04-24 05:04:30 +00:00
parent fbad469d65
commit 451bd64751
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ function md_parse(selector) {
} }
return data return data
} }
function escape_gemtext(string) { function escape_gemtext(string) {
return string.replaceAll(/\n\*/g, "\n *") return string.replaceAll(/\n\*/g, "\n *")
.replaceAll(/\n>/g, "\n >") .replaceAll(/\n>/g, "\n >")