Message editing: preserve strikethrough as well

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2019-05-24 13:57:03 -05:00
parent 04c20b6e68
commit fec5abadd6
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ function parseHtmlMessage(html, room) {
case "CODE":
parts.push(new PlainPart(`\`${n.textContent}\``));
break;
case "DEL":
parts.push(new PlainPart(`<del>${n.textContent}</del>`));
break;
default:
parts.push(new PlainPart(n.textContent));
break;