Skip to content

**strong***em***strong** incorrect result #643

@justanotheranonymoususer

Description

Describe the bug
This: **strong***em***strong**

To Reproduce

import markdown2

markdown_text = """
**strong***em***strong**
"""

html_output = markdown2.markdown(markdown_text)

print(html_output)

Expected behavior
Expected:

<p><strong>strong</strong><em>em</em><strong>strong</strong></p>

Actual:

<p><strong>strong<em></strong>em<strong></em>strong</strong></p>

Debug info
Version of library being used: 8d50892

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions