You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
If you pass a package object to the options, it will helpfully take relative path images and point them at githubusercontent.com. However, if the user has used an img tag with a relative path, the same transformation is not applied. This leads to some images being broken on npmjs.com, while working fine on github. Here is one example of a package experiencing this (not mine):
What / Why
If you pass a package object to the options, it will helpfully take relative path images and point them at githubusercontent.com. However, if the user has used an img tag with a relative path, the same transformation is not applied. This leads to some images being broken on npmjs.com, while working fine on github. Here is one example of a package experiencing this (not mine):
https://www.npmjs.com/package/puppeteer-extra-plugin-stealth
It would be nice to apply this same rewriting to githubusercontent URL here.
The text was updated successfully, but these errors were encountered: