mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03: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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue