docs: encode issue search url

This commit is contained in:
TonyRL 2023-12-03 19:03:17 +00:00
parent c68fba6199
commit 3f00c0f588
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export default function Route({
<div className={`routeBlock ${notOperational ? "notOperational" : ""}`} id={path}>
<p className="badges">
{notOperational && (
<Link to={`https://github.com/search?q=repo:DIYgod/RSSHub+%22${path}%22&type=issues`}>
<Link to={`https://github.com/search?q=${encodeURIComponent('repo:DIYgod/RSSHub')}+${encodeURIComponent(`"${path}"`)}&type=issues`}>
<Badge type="caution"><Translate id="badge.notOperational" /></Badge>
</Link>
)}