Message editing: preserve strikethrough as well
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user