diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 2f10da30..21d00bbc 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -640,7 +640,7 @@ class Display { if (source) { result.prefix = sentence.text.substring(0, sentence.offset).trim(); - result.body = source.trim(); + result.body = sentence.text.substring(sentence.offset, sentence.offset + source.length); result.suffix = sentence.text.substring(sentence.offset + source.length).trim(); }