Skip to content

Commit

Permalink
Merge branch 'Mayuri-Chan:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
eyMarv authored Jan 14, 2024
2 parents 6839772 + b289cd5 commit 80f35dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/source/intro/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/source/topics/advanced-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
.. _Community: https://t.me/MayuriChan-Chat
2 changes: 1 addition & 1 deletion pyrogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with Pyrofork. If not, see <http://www.gnu.org/licenses/>.

__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 <https://github.com/Mayuri-Chan>"

Expand Down
6 changes: 3 additions & 3 deletions pyrogram/parser/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 80f35dd

Please sign in to comment.