Reverse if a few characters match inverted ones

main
Bob Mottram 2022-09-25 18:57:48 +01:00
parent 947715bfae
commit 8142b5d741
1 changed files with 1 additions and 1 deletions

View File

@ -3901,7 +3901,7 @@ def remove_inverted_text(text: str, system_language: str) -> str:
replaced_chars += 1
index += 1
if replaced_chars > 1:
if replaced_chars > 3:
text = text[::-1]
return text