Merge pull request #3032 from matrix-org/bwindels/filterreply

Message editing: fix reply text appearing in edit
pull/21833/head
Bruno Windels 2019-05-27 15:12:18 +00:00 committed by GitHub
commit 080a6301b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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