Merge pull request #3032 from matrix-org/bwindels/filterreply
Message editing: fix reply text appearing in editpull/21833/head
commit
080a6301b1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue