fedimbed: fix missing newline at start of lists
This commit is contained in:
parent
5a9a50a60f
commit
5ddb990aff
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ async function processUrl(msg, url, spoiler = false) {
|
|||
// TODO: convert certain HTML tags back to markdown
|
||||
content = content.replace(/<\/?\s*br\s*\/?>/g, "\n");
|
||||
content = content.replace(/<\/p><p>/g, "\n\n");
|
||||
content = content.replace(/<ol>/g, "\n");
|
||||
content = content.replace(/<li>/g, "- ");
|
||||
content = content.replace(/<\/li>/g, "\n");
|
||||
content = content.replace(
|
||||
|
|
Loading…
Reference in a new issue