filter out reply text when editing

This commit is contained in:
Bruno Windels 2019-05-27 17:04:26 +02:00
parent 9d6a818591
commit f5da8162c1

View file

@ -66,6 +66,8 @@ function parseHtmlMessage(html, room) {
break; break;
case Node.ELEMENT_NODE: case Node.ELEMENT_NODE:
switch (n.nodeName) { switch (n.nodeName) {
case "MX-REPLY":
break;
case "DIV": case "DIV":
case "P": { case "P": {
// block element should cause line break if not first // block element should cause line break if not first