Message editing: preserve strikethrough as well
Signed-off-by: Aaron Raimist <aaron@raim.ist>pull/21833/head
parent
04c20b6e68
commit
fec5abadd6
|
@ -110,6 +110,9 @@ function parseHtmlMessage(html, room) {
|
||||||
case "CODE":
|
case "CODE":
|
||||||
parts.push(new PlainPart(`\`${n.textContent}\``));
|
parts.push(new PlainPart(`\`${n.textContent}\``));
|
||||||
break;
|
break;
|
||||||
|
case "DEL":
|
||||||
|
parts.push(new PlainPart(`<del>${n.textContent}</del>`));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
parts.push(new PlainPart(n.textContent));
|
parts.push(new PlainPart(n.textContent));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue