N°4705 - Fix newsroom messages not formatted correctly

This commit is contained in:
Molkobain
2022-01-23 15:52:16 +01:00
parent ffb3edced5
commit 7def094291

View File

@@ -209,7 +209,7 @@ $(function()
div.textContent = sText;
var sDescription = div.innerHTML; // Escape HTML entities for XSS prevention
var sRichDescription = '<div class="ibo-navigation-menu--notifications--item--content">' + oConverter.makeHtml(sDescription) + '</div>';
var sRichDescription = '<div class="ibo-navigation-menu--notifications--item--content ibo-is-html-content">' + oConverter.makeHtml(sDescription) + '</div>';
var sBottomText = '<span class="ibo-navigation-menu--notifications--item--bottom-text">' + sImage + '<span>' + this.options.providers[sProvider].label + '</span> <span> ' + moment(sStartDate).fromNow() + '</span></span>';