fix(security): aタグにrel="noopener"をつける

This commit is contained in:
まっちゃとーにゅ 2024-01-14 02:36:01 +09:00
parent 622d82b607
commit c5a86174a7
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
11 changed files with 14 additions and 14 deletions

View file

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div :class="[$style.root, { [$style.inline]: inline }]">
<a v-if="external" :class="$style.main" class="_button" :href="to" target="_blank">
<a v-if="external" :class="$style.main" class="_button" :href="to" rel="nofollow noopener" target="_blank">
<span :class="$style.icon"><slot name="icon"></slot></span>
<span :class="$style.text"><slot></slot></span>
<span :class="$style.suffix">