Merge pull request #3030 from aaronraimist/preserve-strikethrough

Message editing: preserve strikethrough as well
This commit is contained in:
Travis Ralston 2019-05-24 13:05:14 -06:00 committed by GitHub
commit c30908c380
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;