Skip to content

Commit

Permalink
fix(route): saraba1st digest image (#14206)
Browse files Browse the repository at this point in the history
* fix saraba1st digest image

* add missing semicolon
  • Loading branch information
CrackTC authored Jan 9, 2024
1 parent 413c97a commit 5348812
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/v2/saraba1st/digest.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,17 @@ async function fetchContent(url) {
}
});

stubS.find('img').each(function () {
const img = subind(this);
const file = img.attr('file');
if (file) {
img.attr('src', file);
img.removeAttr('zoomfile');
img.removeAttr('file');
img.removeAttr('onmouseover');
img.removeAttr('onclick');
}
});

return stubS.html();
}

0 comments on commit 5348812

Please sign in to comment.