Skip to content

Safer definition lists implementation - #974

Merged
notriddle merged 1 commit into
pulldown-cmark:masterfrom
mondeja:fix-973
Oct 27, 2024
Merged

notriddle merged 1 commit into
pulldown-cmark:masterfrom
mondeja:fix-973

Conversation

@mondeja

@mondeja mondeja commented Oct 24, 2024

Copy link
Copy Markdown
Contributor

Fixes #973

@Martin1887

Copy link
Copy Markdown
Collaborator

What do you think, @notriddle?

@notriddle

Copy link
Copy Markdown
Collaborator

As near as I can tell, this doesn't break anything. 👍

Comment on lines -189 to -190
} else {
self.pop();

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea what I was thinking when I wrote this. It doesn't make sense, and it doesn't seem necessary for anything.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though the same finding the bug. Looks to me like some sort of premature optimization.

@Martin1887

Copy link
Copy Markdown
Collaborator

OK, thanks, then this can be merged after fixing the CI build!

@notriddle

Copy link
Copy Markdown
Collaborator

@mondeja I think you can just rebase this branch and the CI problem will go away. A fix for it has already been merged into the master branch.

git pull --rebase https://github.com/pulldown-cmark/pulldown-cmark.git master
git push -f

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.

pulldown-cmark panics on first pass when enabling definition-lists

3 participants