diff --git a/lib/philomena/slug.ex b/lib/philomena/slug.ex index fbbcef5e..1569aa5e 100644 --- a/lib/philomena/slug.ex +++ b/lib/philomena/slug.ex @@ -42,9 +42,9 @@ defmodule Philomena.Slug do |> String.replace(":", "-colon-") |> String.replace(".", "-dot-") |> String.replace("+", "-plus-") - |> URI.encode() + |> URI.encode_www_form() |> String.replace("%20", "+") end def slug(_string), do: "" -end \ No newline at end of file +end