From 834788db94d619b8d20cff76762aab8abe3572ac Mon Sep 17 00:00:00 2001 From: wulan17 Date: Fri, 12 Jan 2024 22:35:59 +0700 Subject: [PATCH 1/3] Pyrofork: docs: Update community link Signed-off-by: wulan17 --- docs/source/intro/quickstart.rst | 2 +- docs/source/topics/advanced-usage.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/intro/quickstart.rst b/docs/source/intro/quickstart.rst index f8a74bf8..9aad7aa9 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 9f41a7b4..d190ef96 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 From f17c0a33542ba0534dfe3a6cfa2c73b5135e8128 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Sun, 14 Jan 2024 15:16:55 +0700 Subject: [PATCH 2/3] Pyrofork: parser: markdown: blockquote: Don't strip the message text Signed-off-by: wulan17 --- pyrogram/parser/markdown.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyrogram/parser/markdown.py b/pyrogram/parser/markdown.py index f3f33986..2de4e8b1 100644 --- a/pyrogram/parser/markdown.py +++ b/pyrogram/parser/markdown.py @@ -74,14 +74,14 @@ class Markdown: 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") From b289cd584274e58d78906fa4117cf867dca37483 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Sun, 14 Jan 2024 15:21:22 +0700 Subject: [PATCH 3/3] Pyrofork: Bump version to 2.3.16.post4 Signed-off-by: wulan17 --- pyrogram/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index 2f763571..20e273f2 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 "