diff options
author | Andy Coupe <andrewmcoupe@gmail.com> | 2020-06-30 14:40:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 09:40:57 -0400 |
commit | 587731583f4660dee49c217f69dfc73fe006d6cf (patch) | |
tree | a71bec18254f57160d642144db32685ae35703a8 /ui/src/components/private-message-form.tsx | |
parent | c0b11d4fa3d383585aa26df22d5c13e58127b1b8 (diff) |
improve lighthouse best practices audit (#863)
* improve safety of cross origin links
* add additional safety for cross origin links
* remove duplicates
Diffstat (limited to 'ui/src/components/private-message-form.tsx')
-rw-r--r-- | ui/src/components/private-message-form.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/private-message-form.tsx b/ui/src/components/private-message-form.tsx index 8cb7590e..10782361 100644 --- a/ui/src/components/private-message-form.tsx +++ b/ui/src/components/private-message-form.tsx @@ -175,6 +175,7 @@ export class PrivateMessageForm extends Component< <a class="alert-link" target="_blank" + rel="noopener" href="https://about.riot.im/" > # @@ -236,6 +237,7 @@ export class PrivateMessageForm extends Component< <a href={markdownHelpUrl} target="_blank" + rel="noopener" class="text-muted" title={i18n.t('formatting_help')} > |