Skip to content

Regression: Hang with code-friendly #668

Closed

Description

Version: f18725f

import markdown2

# This input causes the code to hang infinitely.
markdown_text = R"""
a_b **x***y* c_d
"""
print(markdown2.markdown(markdown_text, extras={'code-friendly': None}))

Activity

  1. added a commit that references this issue on Dec 18, 2025
    57c76c8
  2. added a commit that references this issue on Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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