use ExternalLink components for external links (#10758)

* use ExternalLink components for external links

* test

* strict
This commit is contained in:
Kerry 2023-05-04 09:26:26 +12:00 committed by GitHub
parent 42e6c9839c
commit 37b7dfe943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 281 additions and 47 deletions

View file

@ -38,19 +38,27 @@ exports[`FeedbackDialog should respect feedback config 1`] = `
<span>
Please view
<a
class="mx_ExternalLink"
href="http://existing?foo=bar"
rel="noreferrer noopener"
target="_blank"
>
existing bugs on Github
<i
class="mx_ExternalLink_icon"
/>
</a>
first. No match?
<a
class="mx_ExternalLink"
href="https://new.issue.url?foo=bar"
rel="noreferrer noopener"
target="_blank"
>
Start a new one
<i
class="mx_ExternalLink_icon"
/>
</a>
.
</span>