diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-19 18:30:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-19 18:30:28 +0100 |
commit | 632c5e3629c2432371bb6339ad883208bff64ac2 (patch) | |
tree | 4f82091729030ded18b888d5ed3524f49d701b11 /client/src/app/shared | |
parent | 9af61e84309c23ffbfd7562435a5fadd86cdf20c (diff) | |
download | PeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.tar.gz PeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.tar.zst PeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.zip |
More secure target blank links
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/misc/help.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/misc/help.component.ts b/client/src/app/shared/misc/help.component.ts index a4a223cd6..19ac38b58 100644 --- a/client/src/app/shared/misc/help.component.ts +++ b/client/src/app/shared/misc/help.component.ts | |||
@@ -46,7 +46,8 @@ export class HelpComponent implements OnInit { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | private formatMarkdownSupport (rules: string[]) { | 48 | private formatMarkdownSupport (rules: string[]) { |
49 | return '<a href="https://en.wikipedia.org/wiki/Markdown#Example" target="_blank">Markdown</a> compatible that supports:' + | 49 | return '<a href="https://en.wikipedia.org/wiki/Markdown#Example" target="_blank" rel="noopener noreferrer">Markdown</a> ' + |
50 | 'compatible that supports:' + | ||
50 | this.createMarkdownList(rules) | 51 | this.createMarkdownList(rules) |
51 | } | 52 | } |
52 | 53 | ||