Skip to content

Commit

Permalink
package-build--write-badge-image: Drop use of url-hexify-string
Browse files Browse the repository at this point in the history
That presumably was done to prevent corruption,
but the effect is actually the opposite.
  • Loading branch information
tarsius committed Feb 4, 2024
1 parent 414b328 commit 6ae02ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-build-badges.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
This is essentially a copy of `elpaa--make-badge'."
(let* ((file (expand-file-name (concat name "-badge.svg") target-dir))
(left (or archive (car package-build-badge-data) "myElpa"))
(right (url-hexify-string version))
(right version)
(color (or color (cadr package-build-badge-data) "#ff491b"))
(lw (package-build-badge--string-width left))
(rw (package-build-badge--string-width right))
Expand Down

0 comments on commit 6ae02ed

Please sign in to comment.