From fec5abadd6c1fe49eed02470360657eae1750a0a Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 24 May 2019 13:57:03 -0500 Subject: [PATCH] Message editing: preserve strikethrough as well Signed-off-by: Aaron Raimist --- src/editor/deserialize.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/editor/deserialize.js b/src/editor/deserialize.js index b3f4fe5b80..4244b8afb7 100644 --- a/src/editor/deserialize.js +++ b/src/editor/deserialize.js @@ -110,6 +110,9 @@ function parseHtmlMessage(html, room) { case "CODE": parts.push(new PlainPart(`\`${n.textContent}\``)); break; + case "DEL": + parts.push(new PlainPart(`${n.textContent}`)); + break; default: parts.push(new PlainPart(n.textContent)); break;