Fix google translate no translate mark

This commit is contained in:
Simon Prévost 2024-04-17 21:38:41 -04:00
parent d19cd18393
commit 7c41a8e621

View File

@ -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