diff --git a/CHANGES/1282.bugfix.rst b/CHANGES/1282.bugfix.rst new file mode 100644 index 00000000..323060b1 --- /dev/null +++ b/CHANGES/1282.bugfix.rst @@ -0,0 +1 @@ +Italic markdown from utils now uses correct decorators \ No newline at end of file diff --git a/aiogram/utils/markdown.py b/aiogram/utils/markdown.py index 37600963..08b14a77 100644 --- a/aiogram/utils/markdown.py +++ b/aiogram/utils/markdown.py @@ -48,7 +48,7 @@ def italic(*content: Any, sep: str = " ") -> str: :param sep: :return: """ - return markdown_decoration.italic(value=html_decoration.quote(_join(*content, sep=sep))) + return markdown_decoration.italic(value=markdown_decoration.quote(_join(*content, sep=sep))) def hitalic(*content: Any, sep: str = " ") -> str: