Fixing chat message formatting in #1315

This commit is contained in:
Gabe Kangas
2021-08-18 16:11:00 -07:00
parent 0f00a700e7
commit 8907566ed1
4 changed files with 16 additions and 2 deletions

View File

@ -183,7 +183,7 @@ function formatTimestamp(sentAt) {
text into the `contenteditable` area on a page.
*/
function convertToMarkup(str = '') {
return convertToText(str).replace(/\n/g, '<br>');
return str;// convertToText(str).replace(/\n/g, '<br>');
}
function stripTags(str) {