diff --git a/src/ui/component/tag/view.jsx b/src/ui/component/tag/view.jsx index b47050e6d..bf24b434c 100644 --- a/src/ui/component/tag/view.jsx +++ b/src/ui/component/tag/view.jsx @@ -15,7 +15,7 @@ type Props = { export default function Tag(props: Props) { const { name, onClick, type = 'link', disabled = false } = props; const isMature = MATURE_TAGS.includes(name); - const clickProps = onClick ? { onClick } : { navigate: `/$/tags?t=${name}` }; + const clickProps = onClick ? { onClick } : { navigate: encodeURIComponent(`/$/tags?t=${name}`) }; let title; if (!onClick) {