badgen/badgen.net

License badge for Dart package is broken

blaugold opened this issue · 4 comments

The license badge (https://badgen.net/pub/license/cbl) for one of my Dart packages is broken.
Where the license name would be is just some HTML.

amio commented

It looks correct as I check 🤔
image

Seems like that was a temporary issue. I noticed it after publishing a new version, so maybe its just visible while pub.dev is processing a package.

Again, if anyone knows how to get license type over the API let me know to prevent these glitches. Currently, the license type gets scraped from the package page using regular expression.

The issue seems to be back. This time more permanently, though.
Screenshot 2022-06-09 at 08 00 57