-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Collaboration, Collaboration > Announcements
-
Labels:None
The Announcement portlet allows only to display a text on a single line.
It should be great to have the possibility to make HTML announcements.
To by-pass this, I added the following script to the page Javascript to "enable" HTML for announcements. But it's ugly and doesn't support "Mark as Read" then "Show".
function enableHTML() { var entries = document.getElementById("portlet_84").getElementsByClassName("entry"); for(var i=0; i < entries.length; i++) { entries[i].innerHTML=entries[i].innerHTML.replace(/</g,"<").replace(/>/g,">").replace(/\\</g,"<").replace(/\\>/g,">"); } } window.onload = enableHTML;
Thanks.
- is duplicated by
-
LPS-16896 Announcements - display formatting - line breaks
- Closed