diff --git a/docs/source/intro/quickstart.rst b/docs/source/intro/quickstart.rst index f8a74bf8c..9aad7aa95 100644 --- a/docs/source/intro/quickstart.rst +++ b/docs/source/intro/quickstart.rst @@ -53,4 +53,4 @@ we have just done above. If you are feeling eager to continue you can take a shortcut to :doc:`../start/invoking` and come back later to learn some more details. -.. _community: https://t.me/Pyrofork +.. _community: https://t.me/MayuriChan-Chat diff --git a/docs/source/topics/advanced-usage.rst b/docs/source/topics/advanced-usage.rst index 9f41a7b4d..d190ef960 100644 --- a/docs/source/topics/advanced-usage.rst +++ b/docs/source/topics/advanced-usage.rst @@ -121,4 +121,4 @@ For example, given the ID *123456789*, here's how Pyrofork can tell entities apa So, every time you take a raw ID, make sure to translate it into the correct ID when you want to use it with an high-level method. -.. _Community: https://t.me/Pyrofork \ No newline at end of file +.. _Community: https://t.me/MayuriChan-Chat \ No newline at end of file diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index 2f7635719..20e273f2e 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -18,7 +18,7 @@ # along with Pyrofork. If not, see . __fork_name__ = "PyroFork" -__version__ = "2.3.16.post3" +__version__ = "2.3.16.post4" __license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)" __copyright__ = "Copyright (C) 2022-present Mayuri-Chan " diff --git a/pyrogram/parser/markdown.py b/pyrogram/parser/markdown.py index f3f339862..2de4e8b14 100644 --- a/pyrogram/parser/markdown.py +++ b/pyrogram/parser/markdown.py @@ -74,14 +74,14 @@ def blockquote_parser(self, text): line = re.sub(r'^> ', OPENING_TAG.format("blockquote"), line) line = re.sub(r'^>', OPENING_TAG.format("blockquote"), line) in_blockquote = True - result.append(line.strip()) + result.append(line) else: - result.append(line[-1].strip()) + result.append(line[-1]) else: if in_blockquote: line = CLOSING_TAG.format("blockquote") + line in_blockquote = False - result.append(line.strip()) + result.append(line) if in_blockquote: line = result[len(result)-1] + CLOSING_TAG.format("blockquote")