Skip to content

Bold + Italic text does not work at the end of a block with betterem #2466

@jmsmkn

Description

@jmsmkn

Description

Having bold + italic text does not work when at the end of a string (example 3):

***I'm bold and italic!** I am just italic.*

*I'm italic. **I'm bold and italic.** I'm also just italic.*

*I am just italic. **I'm bold and italic!***

Expected:

I'm bold and italic! I am just italic.

I'm italic. I'm bold and italic. I'm also just italic.

I am just italic. I'm bold and italic!

Result

Screenshot 2024-09-25 at 08 39 09

Minimal Reproduction

Use the above example with betterem enabled

Version(s) & System Info

  • Operating System: macos
  • Python Version: 3.12
  • Package Version: 10.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions