Skip to content

Commit

Permalink
docs: encode issue search url
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL committed Dec 3, 2023
1 parent c68fba6 commit 3f00c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/Route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down

0 comments on commit 3f00c0f

Please sign in to comment.