mirror of https://github.com/vector-im/riot-web
don't append extra newline after blockquote anymore
now that P prepends newline when not first elementpull/21833/head
parent
2445421270
commit
04720db2a3
|
@ -206,10 +206,6 @@ function parseHtmlMessage(html, partCreator, isQuotedMessage) {
|
||||||
|
|
||||||
parts.push(...newParts);
|
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);
|
const decend = checkDecendInto(n);
|
||||||
// when not decending (like for PRE), onNodeLeave won't be called to set lastNode
|
// when not decending (like for PRE), onNodeLeave won't be called to set lastNode
|
||||||
// so do that here.
|
// so do that here.
|
||||||
|
|
Loading…
Reference in New Issue