Github images in readme are broken on npmjs

website
priority:medium
triaged

(Gene) #1

What I Wanted to Do

I included images into README.md on github and they displayed just fine:


I wanted the copy of this README on npmjs to display the same images without breakage.

What Happened Instead

Only two images out of five are displayed on npmjs, the other three appear broken:

Reproduction Steps

Open https://www.npmjs.com/package/tinode-webapp and observe for yourself. Compare to https://github.com/tinode/webapp

Details

I would guess it’s a bug in your github markdown parser. The URLs of the first two images are parsed out and converted to absolute, the other three URLs are left relative and consequently they are broken.

Platform Info

I don’t think this is relevant.