Zenodo: Zenodo DOI badge not displayed

Created on 26 Apr 2021  ·  3Comments  ·  Source: zenodo/zenodo

Browser & OS

https://whatismybrowser.com/w/WQ4Q37S

Describe the bug

The Zenodo DOI badge is not displayed on my GitHub repositories.

Steps to Reproduce

  1. Create a new markdown document in GitHub
  2. Enter the markdown code for the DOI badge:
    [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2824830.svg)](https://doi.org/10.5281/zenodo.2824830)
  3. The markdown code is rendered as alternate text with link only:
    DOI

Expected behavior

The markdown code should show the badge.

Screenshots (if applicable)

Additional context

It broke simultaneously on all my repos.

Bug

Most helpful comment

Same here: https://github.com/medialab/minet

I guess this comes from an erroneous Content-Type header:

curl -I https://zenodo.org/badge/169059797.svg

yields:

Content-Type: text/html; charset=utf-8

I think it should be image/svg+xml; charset=utf-8 so that GitHub Camo cache correctly detects this as an image.

All 3 comments

I experience the same for all of my repositories.

Same. Firefox 88.0 on Ubuntu Linux.

Same here: https://github.com/medialab/minet

I guess this comes from an erroneous Content-Type header:

curl -I https://zenodo.org/badge/169059797.svg

yields:

Content-Type: text/html; charset=utf-8

I think it should be image/svg+xml; charset=utf-8 so that GitHub Camo cache correctly detects this as an image.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lnielsen picture lnielsen  ·  8Comments

krzysztof picture krzysztof  ·  9Comments

slint picture slint  ·  4Comments

maurice-schleussinger picture maurice-schleussinger  ·  3Comments

bbarker picture bbarker  ·  4Comments