Fix links
This commit is contained in:
parent
f88410587a
commit
d317f003b6
2 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import { url } from '../../../types/url';
|
||||||
export const generate = ({ href, text }: { href: url; text: string }): html => `
|
export const generate = ({ href, text }: { href: url; text: string }): html => `
|
||||||
<a class="primitive-anchor"
|
<a class="primitive-anchor"
|
||||||
href="${href}"
|
href="${href}"
|
||||||
|
rel="noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>${text}</a>
|
>${text}</a>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ export const generate = ({
|
||||||
}): html => `
|
}): html => `
|
||||||
<a class="image-anchor"
|
<a class="image-anchor"
|
||||||
href="${href}"
|
href="${href}"
|
||||||
|
rel="noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<div class="svgContainer">
|
<div class="svgContainer">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue