mirror of
https://github.com/vector-im/element-web.git
synced 2026-02-27 10:32:21 +01:00
don't append extra newline after blockquote anymore
now that P prepends newline when not first element
This commit is contained in:
parent
2445421270
commit
04720db2a3
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user