Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(route): rsshub sponsors title and description #9500

Merged
merged 1 commit into from
Apr 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: sponsors title
  • Loading branch information
TonyRL committed Apr 8, 2022
commit 96d9560ebcdb5751d81a4482a003af241ded227b
1 change: 1 addition & 0 deletions lib/v2/rsshub/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = async (ctx) => {
normal
.map((index, item) => {
item = $(item);
item.find('span').remove();
const title = item.text();
const link = item.attr('href') || 'https://docs.rsshub.app/';
return {
Expand Down