don't append extra newline after blockquote anymore

now that P prepends newline when not first element
This commit is contained in:
Bruno Windels 2019-09-23 15:33:30 +02:00
parent 2445421270
commit 04720db2a3

View file

@ -206,10 +206,6 @@ function parseHtmlMessage(html, partCreator, isQuotedMessage) {
parts.push(...newParts);
// extra newline after quote, only if there something behind it...
if (lastNode && lastNode.nodeName === "BLOCKQUOTE") {
parts.push(partCreator.newline());
}
const decend = checkDecendInto(n);
// when not decending (like for PRE), onNodeLeave won't be called to set lastNode
// so do that here.