mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-25 03:44:17 +00:00
@@ -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