aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-19 18:30:28 +0100
committerChocobozzz <me@florianbigard.com>2018-03-19 18:30:28 +0100
commit632c5e3629c2432371bb6339ad883208bff64ac2 (patch)
tree4f82091729030ded18b888d5ed3524f49d701b11 /client/src/app/shared
parent9af61e84309c23ffbfd7562435a5fadd86cdf20c (diff)
downloadPeerTube-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.ts3
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