mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
Fix markdown italic quote (#1282)
* Fix markdown italic quote * Add changelog
This commit is contained in:
parent
b7be9c2b81
commit
bff2ed0a86
2 changed files with 2 additions and 1 deletions
1
CHANGES/1282.bugfix.rst
Normal file
1
CHANGES/1282.bugfix.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Italic markdown from utils now uses correct decorators
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue