Adding nofollow to links. Fixes #542 (#543)

* Adding nofollow to links. Fixes #542

* Running prettier.
This commit is contained in:
Dessalines 2022-02-24 15:31:44 +00:00 committed by GitHub
parent 2663e19fdc
commit 6684bbeaf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 42 additions and 27 deletions

View file

@ -10,6 +10,7 @@ import {
mdToHtml,
pictrsDeleteToast,
randomStr,
relTags,
setupTippy,
setupTribute,
toast,
@ -297,7 +298,7 @@ export class MarkdownTextArea extends Component<
href={markdownHelpUrl}
class="btn btn-sm text-muted font-weight-bold"
title={i18n.t("formatting_help")}
rel="noopener"
rel={relTags}
>
<Icon icon="help-circle" classes="icon-inline" />
</a>