Merge pull request #3030 from aaronraimist/preserve-strikethrough
Message editing: preserve strikethrough as wellpull/21833/head
commit
c30908c380
|
@ -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