transliteration-decoder: add support for MarkdownV2
This commit is contained in:
parent
b21b16b817
commit
87424c8786
|
@ -25,7 +25,7 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3):
|
|||
decoded_text = decoded_text.replace(i[0].capitalize(), i[1].capitalize())
|
||||
decoded_text = decoded_text.replace(i[0].upper(), i[1].upper())
|
||||
|
||||
self.RESPONSE = f"Результат: {decoded_text}"
|
||||
self.RESPONSE = f"__Результат__\n{decoded_text}"
|
||||
|
||||
except Exception as e:
|
||||
print(f"[translit-decoder] Got exception: {e}")
|
||||
|
|
Loading…
Reference in New Issue