diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 37d9df6..ec9e807 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -290,6 +290,7 @@ async function processUrl(msg, url) { // TODO: convert certain HTML tags back to markdown content = content.replace(/
/g, "\n"); + content = content.replace(/<\/p>

/g, "\n\n"); content = content.replace(/(<([^>]+)>)/gi, ""); content = parseHtmlEntities(content);