diff --git a/plugins/talk-plugin-rich-text-pell/client/utils.js b/plugins/talk-plugin-rich-text-pell/client/utils.js index e00b7a91c..bb71c2b4f 100644 --- a/plugins/talk-plugin-rich-text-pell/client/utils.js +++ b/plugins/talk-plugin-rich-text-pell/client/utils.js @@ -2,9 +2,10 @@ export function htmlNormalizer(htmlInput) { const str = htmlInput; // We are normalizing the input from contenteditable of each browser, also removing unnecesary html tags // https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content#Differences_in_markup_generation + console.log(htmlInput); return str - .replace('
', '
instead of
instead of
/g, '
')
+ .replace(/<\/p>/g, '')
+ .replace(/