Skip to content

Commit

Permalink
Fix google translate no translate mark
Browse files Browse the repository at this point in the history
  • Loading branch information
simonprev committed Apr 18, 2024
1 parent d19cd18 commit 7c41a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/machine_translations/provider/google_translate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c41a8e

Please sign in to comment.