Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice, I wanted something like that to create badges for git deps in Clojure. Here is my attempt to do it using Supershields:

https://supershields.io/d1a18b018347defeec7b

Two questions:

1. text doesn't fit, how to fix that?

2. quote characters — «"» — get escaped as «"», how to avoid that?



Removing the html.unescape() seems to work


No it doesn't. The badge in the Test Script pane always shows correct quotes, but the publicly available one escapes the quotes. I added html.unescape thinking it will fix the issue, but it didn't. Now I removed unescape again, and it's still broken.


Try now!

The backend was a bit over-zealous about the HTML escaping...


Fantastic, thanks a lot!


Oh, sorry, I'll investigate it. BRB.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: