Skip to content

Leave an empty attribute list with a colon as text - #1734

Open
RavSinghChandan wants to merge 2 commits into
Python-Markdown:masterfrom
RavSinghChandan:attr-list-empty-colon
Open

RavSinghChandan wants to merge 2 commits into
Python-Markdown:masterfrom
RavSinghChandan:attr-list-empty-colon

Conversation

@RavSinghChandan

Copy link
Copy Markdown
Contributor

Description

With attr_list, # Heading {: } produced <h1 :>Heading</h1>: the colon was read as an attribute name. { } is already left as text, and {: } and {:} now are too.

Full suite: 1247 tests, 114 skipped, no failures. The new test fails without the change.

AI Assistance Disclosure

  • No AI tools were used in preparing this PR.

  • AI tools were used and I have disclosed which ones, and have fully reviewed and verified their output.

    Claude Code (Claude Sonnet 5.5).

    AI tools were use to assist with the following:

    • Code
    • Code Comments
    • Documentation
    • Changelog Entry
    • Commit Message
    • The Description Above
    • Other: tests

Checklist

@RavSinghChandan

Copy link
Copy Markdown
Contributor Author

added (#1734) to the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant