Current section
35 Versions
Jump to
Current section
35 Versions
Compare versions
3
files changed
+5
additions
-4
deletions
| @@ -1 +1 @@ | |
| 1 | - 0.1.11 |
| \ No newline at end of file | |
| 1 | + 0.1.12 |
| \ No newline at end of file |
| @@ -21,4 +21,4 @@ | |
| 21 21 | {<<"optional">>,false}, |
| 22 22 | {<<"repository">>,<<"hexpm">>}, |
| 23 23 | {<<"requirement">>,<<"~> 1.17.0">>}]]}. |
| 24 | - {<<"version">>,<<"0.1.11">>}. |
| 24 | + {<<"version">>,<<"0.1.12">>}. |
| @@ -37,6 +37,7 @@ defmodule MangaEx.MangaProviders.Mangahost do | |
| 37 37 | end |
| 38 38 | |
| 39 39 | Enum.map(pages_url, fn page_url -> |
| 40 | + page_url = String.normalize(page_url, :nfd) |
| 40 41 | page_number = |
| 41 42 | page_url |
| 42 43 | |> String.replace(["_", "."], " ") |
| @@ -177,9 +178,9 @@ defmodule MangaEx.MangaProviders.Mangahost do | |
| 177 178 | |
| 178 179 | if String.ends_with?(url, "/") do |
| 179 180 | {page, _index} = Enum.fetch!(body_splited, index + 1) |
| 180 | - (url <> "%20#{page}") |> String.replace("'", "") |> String.normalize(:nfd) |
| 181 | + (url <> "%20#{page}") |> String.replace("'", "") |
| 181 182 | else |
| 182 | - String.normalize(url, :nfd) |
| 183 | + url |
| 183 184 | end |
| 184 185 | end |