Fix markdown italic quote (#1282)

* Fix markdown italic quote

* Add changelog
This commit is contained in:
onejeuu 2023-08-26 22:31:30 +03:00 committed by GitHub
parent b7be9c2b81
commit bff2ed0a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
CHANGES/1282.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Italic markdown from utils now uses correct decorators

View file

@ -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: