Skip to content

Commit

Permalink
Encode chapter URL before sending it to id3vx
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Oct 10, 2022
1 parent f4a5fcc commit 5cf8cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/changelog/kits/mp3_kit.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ defmodule Changelog.Mp3Kit do
defp add_link_to_chapter(tag, nil), do: tag
defp add_link_to_chapter(tag, ""), do: tag
defp add_link_to_chapter(tag, url) do
Tag.add_custom_url(tag, "chapter url", url)
Tag.add_custom_url(tag, "chapter url", URI.encode(url))
end

defp add_image_to_chapter(tag, nil), do: tag
Expand Down

0 comments on commit 5cf8cea

Please sign in to comment.