mirror of
https://github.com/mirego/accent.git
synced 2024-08-17 06:50:31 +03:00
Fix google translate no translate mark
This commit is contained in:
parent
d19cd18393
commit
7c41a8e621
@ -166,7 +166,7 @@ defmodule Accent.MachineTranslations.Provider.GoogleTranslate do
|
||||
end
|
||||
|
||||
defp unmark_no_translate(value) do
|
||||
String.replace(value, ~r/<span translate="no">([^<]+)<\/span>/, "\\1")
|
||||
String.replace(value, ~r/<span translate="no">([^<]+)<\/span>/i, "\\1")
|
||||
end
|
||||
|
||||
defmodule Auth do
|
||||
|
Loading…
Reference in New Issue
Block a user