diff --git a/src/domain/session/room/timeline/deserialize.js b/src/domain/session/room/timeline/deserialize.js index 6003aef9..b59c2e59 100644 --- a/src/domain/session/room/timeline/deserialize.js +++ b/src/domain/session/room/timeline/deserialize.js @@ -501,13 +501,12 @@ export async function tests() { }, "Reply fallback is always stripped": assert => { const input = 'Hello, World!'; - const strippedInput = 'Hello, !'; const output = [ new TextPart('Hello, '), new FormatPart("em", []), new TextPart('!'), ]; - assert.deepEqual(parseHTMLBody(platform, null, input), new MessageBody(strippedInput, output)); + assert.deepEqual(parseHTMLBody(platform, null, input), new MessageBody(input, output)); } /* Doesnt work: HTML library doesn't handle
 properly.
         "Text with code block": assert => {