Skip to content
Snippets Groups Projects
Commit ae716a12 authored by piggo's avatar piggo Committed by Eugen Rochko
Browse files

replace newlines in desktop notif with spaces instead of removing them (#5361)

parent f63a40e7
Branches
Tags
No related merge requests found
......@@ -31,6 +31,7 @@ const fetchRelatedRelationships = (dispatch, notifications) => {
const unescapeHTML = (html) => {
const wrapper = document.createElement('div');
html = html.replace(/<br \/>|<br>|\n/, ' ');
wrapper.innerHTML = html;
return wrapper.textContent;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment