Skip to content

blockquote formatting is broken of Markdown style #229

@zydou

Description

@zydou

Checklist

  • I am sure the error is coming from Pyrogram's code and not elsewhere
  • I have searched in the issue tracker for similar bug reports, including closed ones
  • I ran pip3 install https://github.com/TelegramPlayground/pyrogram/archive/dev.zip --force-reinstall and reproduced the issue using the latest development version

Description

This commit 79dae45 breaks the blockquote formatting of Markdown style.

Steps to reproduce

await client.send_message(
  chat_id="me",
  text=(
      "**>\n"
      "The expandable block quotation started right after the previous block quotation\n"
      "It is separated from the previous block quotation by expandable syntax\n"
      "Expandable block quotation continued\n"
      "Hidden by default part of the expandable block quotation started\n"
      "Expandable block quotation continued\n"
      "The last line of the expandable block quotation with the expandability mark<**"
  ),
  parse_mode=ParseMode.MARKDOWN,
)

Code example

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions