fix: fix blockquote after list#3888
Conversation
|
@UziTech is attempting to deploy a commit to the MarkedJS Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello @UziTech, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves a parsing error in the Markdown tokenizer that previously misidentified blockquotes appearing directly after list items. By enhancing the tokenizer's ability to recognize blockquote beginnings and properly terminate list contexts, the change ensures that complex Markdown structures involving lists and blockquotes are rendered accurately. This improvement contributes to the overall robustness and correctness of the Markdown parsing engine. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly fixes an issue where blockquotes were not being properly parsed after a list by introducing a check to terminate the list item parsing. The addition of new test cases to cover child, sibling, and parent-level blockquotes is excellent and ensures the fix is robust. My review includes a couple of suggestions to improve maintainability by refactoring duplicated code patterns that were expanded by this change. While the current implementation works, addressing these points would make the code more concise and easier to maintain in the future.
af440df to
617d024
Compare
## [17.0.2](v17.0.1...v17.0.2) (2026-02-11) ### Bug Fixes * fix blockquote after list ([#3888](#3888)) ([2a475a1](2a475a1)) * fix empty list item ([#3890](#3890)) ([3fc6a44](3fc6a44)) * fix list item wrong indent ([#3889](#3889)) ([e031175](e031175)) * fix list with tabs ([#3891](#3891)) ([9fc4f8e](9fc4f8e)) * fix strikethrough flanking rules ([#3882](#3882)) ([1a5b124](1a5b124))
Marked version: 17.0.1
Description
Fix blockquote after list
Contributor
Committer
In most cases, this should be a different person than the contributor.