-
-
Notifications
You must be signed in to change notification settings - Fork 53
Comparing changes
Open a pull request
base repository: frostming/marko
base: v2.2.2
head repository: frostming/marko
compare: v2.2.3
- 10 commits
- 19 files changed
- 7 contributors
Commits on Apr 17, 2026
-
feat: allow extension blocks to break a Paragraph (#260)
* feat: allow extension blocks to break a Paragraph currently the list of elements that can break a Paragraph is hardwired in the Paragraph implementation. This PR suggests a new BlockElement property `breaks_paragraph` that allows extensions to define blocks that can also break a paragraph without the need to override the Paragraph `break_paragraph` implementation. * refactor: improve test * Apply suggestions from code review refactor: method return types Co-authored-by: Frost Ming <mianghong@gmail.com> --------- Co-authored-by: Frost Ming <mianghong@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c0d37df - Browse repository at this point
Copy the full SHA c0d37dfView commit details -
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ea5d5fd - Browse repository at this point
Copy the full SHA ea5d5fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a30b4c8 - Browse repository at this point
Copy the full SHA a30b4c8View commit details -
fix: CVE Vulnerability Report: Cross-Site Scripting (XSS) in marko. F…
…ixes #257 Signed-off-by: Frost Ming <me@frostming.com>
Configuration menu - View commit details
-
Copy full SHA for 0aaac3f - Browse repository at this point
Copy the full SHA 0aaac3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0f822b - Browse repository at this point
Copy the full SHA b0f822bView commit details
Commits on May 28, 2026
-
* Remove unused type: ignore directives * Force using types for objprint * Add types for pygments * Fix type-arg typing errors * Fix redundant-cast typing errors * Fix NameError in tests
Configuration menu - View commit details
-
Copy full SHA for 2f892b5 - Browse repository at this point
Copy the full SHA 2f892b5View commit details -
Replace U+0000 with U+FFFD on input per CommonMark §2.3 (#263)
CommonMark §2.3 ("Insecure characters") requires that literal U+0000 code points in source be replaced with U+FFFD. Marko's entity-reference path already honours this for � / �, but literal NULs in the input were passed straight through to text, code spans, and code blocks. Add the substitution to _preprocess_text so that all parser/renderer paths see a sanitised buffer. Add regression tests covering NUL in plain text, code spans, and fenced code blocks.Configuration menu - View commit details
-
Copy full SHA for 15b95ab - Browse repository at this point
Copy the full SHA 15b95abView commit details -
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a11e0b4 - Browse repository at this point
Copy the full SHA a11e0b4View commit details -
Make _RendererDispatcher fully generic (#265)
* Make _RendererDispatcher fully generic By making _RendererDispatcher and the RendererFunc type fully generic, the render_dispatch decorator can be strongly typed. This eliminates mypy typing errors on method using render_dispatch or _RendererDispatcher, provided the method is correctly typed. * Those were there for a reason
Configuration menu - View commit details
-
Copy full SHA for e5fa135 - Browse repository at this point
Copy the full SHA e5fa135View commit details -
chore: update version to 2.2.3 in changelog and __init__.py
Signed-off-by: Frost Ming <me@frostming.com>
Configuration menu - View commit details
-
Copy full SHA for 57e042b - Browse repository at this point
Copy the full SHA 57e042bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.2.2...v2.2.3