mirror of https://github.com/vector-im/riot-web
filter out reply text when editing
parent
9d6a818591
commit
f5da8162c1
|
@ -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