mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix markdown escape functions
This commit is contained in:
parent
1c242710b7
commit
4046bad47a
1 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ def bold(*content, sep=" "):
|
|||
:return:
|
||||
"""
|
||||
return markdown_decoration.bold.format(
|
||||
value=html_decoration.quote(_join(*content, sep=sep))
|
||||
value=markdown_decoration.quote(_join(*content, sep=sep))
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ def italic(*content, sep=" "):
|
|||
:return:
|
||||
"""
|
||||
return markdown_decoration.italic.format(
|
||||
value=html_decoration.quote(_join(*content, sep=sep))
|
||||
value=markdown_decoration.quote(_join(*content, sep=sep))
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ def code(*content, sep=" "):
|
|||
:return:
|
||||
"""
|
||||
return markdown_decoration.code.format(
|
||||
value=html_decoration.quote(_join(*content, sep=sep))
|
||||
value=markdown_decoration.quote(_join(*content, sep=sep))
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ def pre(*content, sep="\n"):
|
|||
:return:
|
||||
"""
|
||||
return markdown_decoration.pre.format(
|
||||
value=html_decoration.quote(_join(*content, sep=sep))
|
||||
value=markdown_decoration.quote(_join(*content, sep=sep))
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue