diff --git a/dev/Common/UtilsUser.js b/dev/Common/UtilsUser.js index 613b82ef9..7e5fb9011 100644 --- a/dev/Common/UtilsUser.js +++ b/dev/Common/UtilsUser.js @@ -128,7 +128,7 @@ export function htmlToPlain(html) { .replace(/"/gi, '"') .replace(/<[^>]*>/gm, ''); - text = splitPlainText(tpl.innerText + text = splitPlainText(tpl.content.textContent .replace(/\n[ \t]+/gm, '\n') .replace(/[\n]{3,}/gm, '\n\n') .replace(/>/gi, '>')