mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Merge pull request #3030 from aaronraimist/preserve-strikethrough
Message editing: preserve strikethrough as well
This commit is contained in:
commit
c30908c380
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue