From 7def0942912f15487ad6b15ae645394eb04d6a82 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Sun, 23 Jan 2022 15:52:16 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04705=20-=20Fix=20newsroom=20messages=20n?= =?UTF-8?q?ot=20formatted=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/components/newsroom-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/newsroom-menu.js b/js/components/newsroom-menu.js index 31c095ab1..828fadbad 100644 --- a/js/components/newsroom-menu.js +++ b/js/components/newsroom-menu.js @@ -209,7 +209,7 @@ $(function() div.textContent = sText; var sDescription = div.innerHTML; // Escape HTML entities for XSS prevention - var sRichDescription = '
' + oConverter.makeHtml(sDescription) + '
'; + var sRichDescription = '
' + oConverter.makeHtml(sDescription) + '
'; var sBottomText = '' + sImage + '' + this.options.providers[sProvider].label + ' ' + moment(sStartDate).fromNow() + '';