mirror of https://github.com/rancher/ui.git
Ensure detected links open in a new blank tab
This commit is contained in:
parent
d4bfc18f05
commit
ae0965cada
|
|
@ -15,7 +15,10 @@ export function linkify(params) {
|
||||||
content = Ember.Handlebars.Utils.escapeExpression(content);
|
content = Ember.Handlebars.Utils.escapeExpression(content);
|
||||||
|
|
||||||
content = linkifyStr(content, {
|
content = linkifyStr(content, {
|
||||||
attributes: { rel: 'nofollow noreferrer' },
|
attributes: {
|
||||||
|
rel: 'nofollow noreferrer',
|
||||||
|
target: '_blank',
|
||||||
|
},
|
||||||
defaultProtocol: 'https'
|
defaultProtocol: 'https'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue