Skip to content

Safer definition lists implementation#974

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

Safer definition lists implementation#974
notriddle merged 1 commit intopulldown-cmark:masterfrom
mondeja:fix-973

Conversation

@mondeja
Copy link
Contributor

@mondeja mondeja commented Oct 24, 2024

Fixes #973

@Martin1887
Copy link
Collaborator

What do you think, @notriddle?

@notriddle
Copy link
Collaborator

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

Comment on lines -189 to -190
} else {
self.pop();
Copy link
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
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
Collaborator

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

@notriddle
Copy link
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

@notriddle notriddle merged commit b03f299 into pulldown-cmark:master Oct 27, 2024
@mondeja mondeja deleted the fix-973 branch October 27, 2024 02:33
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