mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
1 parent
3129e149df
commit
0e918a446a
7 files changed
+8
-5
No files matched your search
@@ -14,7 +14,7 @@
|
||||
function txt2html(linkyFilter) {
|
||||
return function(text) {
|
||||
// Linky will first sanitize the text; linefeeds are therefore encoded.
|
||||
return text ? String(linkyFilter(text, ' _blank')).replace(/ /gm, '<br>') : undefined;
|
||||
return text ? String(linkyFilter(text, ' _blank', { rel: 'noopener' })).replace(/ /gm, '<br>') : undefined;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user