Repository navigation
Comparing changes
Open a pull request
base repository: markedjs/marked
base: v18.1.0
head repository: markedjs/marked
compare: v18.1.1
- 13 commits
- 56 files changed
- 15 contributors
Commits on Oct 6, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0db74cb - Browse repository at this point
Copy the full SHA 0db74cbView commit details -
fix: keep a decoded character reference from forming a new one (#4111)
Since numeric references are decoded into the text token, a decoded "&", or a decoded character next to a literal "&", can spell a new reference that the no-encode escaper leaves alone and the browser decodes again. "&" rendered as "&" and displayed "&", and "©" displayed "(c)". Escape "&" in text that contains a numeric reference, both the decoded ones and the literal ones that do not already start a reference.
Configuration menu - View commit details
-
Copy full SHA for 6bbac0c - Browse repository at this point
Copy the full SHA 6bbac0cView commit details -
fix(cli): honor an explicitly empty string input (#4113)
Co-authored-by: Your Name <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec3a4e5 - Browse repository at this point
Copy the full SHA ec3a4e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e64a6a - Browse repository at this point
Copy the full SHA 9e64a6aView commit details -
fix: respect tab stops in list continuation indentation (#4119)
* fix: respect tab stops in list continuation indentation * test: move tab-stop regressions to spec fixtures
Configuration menu - View commit details
-
Copy full SHA for 4bd2528 - Browse repository at this point
Copy the full SHA 4bd2528View commit details -
fix: make walkTokens linear by appending values in place (#4121)
* fix: make walkTokens linear by appending values in place Marked.walkTokens collected callback results with `values = values.concat(...)` for every token, copying the whole array each time, so parsing with any walkTokens extension took quadratic time in document size. Append in place instead, flattening one level like concat did, so the returned values are unchanged. The combined walkTokens function built in use() gets the same change. Fixes #4120 * fix: copy walkTokens callback arrays by index like concat
Configuration menu - View commit details
-
Copy full SHA for 627d9ae - Browse repository at this point
Copy the full SHA 627d9aeView commit details -
fix: preserve enclosing link state after parsing images (#4123)
* fix: preserve enclosing link state after parsing images * test: move image link regression cases to spec fixtures * test: use standard HTML differ for image link regression
Configuration menu - View commit details
-
Copy full SHA for cc07bb9 - Browse repository at this point
Copy the full SHA cc07bb9View commit details -
perf: avoid repeated raw string copies in nested lists (#4082)
fix: avoid repeated raw string copies in nested lists Tokenizer.list() built each item's raw by appending line by line, and the list's raw by concatenating its items. src is only ever consumed from the front, so both are contiguous spans of the input and can be sliced out of it instead. V8 keeps a slice as a view on one backing string rather than a fresh copy per list and per item. Token values are unchanged. On cmark's pathological "deeply nested lists" case (500 levels): 222 MB RSS and 135 ms before, 157 MB and 126 ms after. No change on the CommonMark spec corpus -- the saving is proportional to nesting depth, so ordinary documents are unaffected.
Configuration menu - View commit details
-
Copy full SHA for 7e8754d - Browse repository at this point
Copy the full SHA 7e8754dView commit details
Commits on Oct 9, 2026
-
Configuration menu - View commit details
-
Copy full SHA for eaa1fff - Browse repository at this point
Copy the full SHA eaa1fffView commit details
Commits on Oct 10, 2026
-
fix: keep a backslash in a code span from hiding emphasis (#4117)
* fix: keep a backslash in a code span from hiding emphasis The em/strong mask replaced every backslash escape before it masked code spans, but a backslash inside a code span is literal. A code span ending in `\` therefore lost its closing backtick in the mask, so the next backtick paired with it and the emphasis between them was masked out and rendered as literal `_` or `*`. Mask escapes only outside code spans. * fix: keep emphasis out of a code span that holds a backtick --------- Co-authored-by: breken-ai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a57018 - Browse repository at this point
Copy the full SHA 6a57018View commit details
Commits on Oct 12, 2026
-
chore(deps-dev): bump handlebars from 4.7.9 to 4.7.10 (#4133)
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.9 to 4.7.10. - [Release notes](https://github.com/handlebars-lang/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.10/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.7.9...v4.7.10) --- updated-dependencies: - dependency-name: handlebars dependency-version: 4.7.10 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 699a969 - Browse repository at this point
Copy the full SHA 699a969View commit details -
* docs: add AGENTS.md * add remove only note * remove important redundant note
Configuration menu - View commit details
-
Copy full SHA for 2134976 - Browse repository at this point
Copy the full SHA 2134976View commit details -
chore(release): 18.1.1 [skip ci]
## [18.1.1](v18.1.0...v18.1.1) (2026-10-12) ### Bug Fixes * **cli:** honor an explicitly empty string input ([#4113](#4113)) ([ec3a4e5](ec3a4e5)) * end blockquote before a lazy line after a heading, hr or html block ([#4115](#4115)) ([9e64a6a](9e64a6a)) * keep a backslash in a code span from hiding emphasis ([#4117](#4117)) ([6a57018](6a57018)) * keep a decoded character reference from forming a new one ([#4111](#4111)) ([6bbac0c](6bbac0c)), closes [#38](#38) [#112](#112) * let indented and type 3-5 html blocks interrupt a paragraph ([#4124](#4124)) ([eaa1fff](eaa1fff)) * make walkTokens linear by appending values in place ([#4121](#4121)) ([627d9ae](627d9ae)), closes [#4120](#4120) * match pre, script, style and textarea as whole tag names ([#4114](#4114)) ([0db74cb](0db74cb)) * preserve enclosing link state after parsing images ([#4123](#4123)) ([cc07bb9](cc07bb9)) * respect tab stops in list continuation indentation ([#4119](#4119)) ([4bd2528](4bd2528)) ### Performance Improvements * avoid repeated raw string copies in nested lists ([#4082](#4082)) ([7e8754d](7e8754d))
Configuration menu - View commit details
-
Copy full SHA for cdbdc01 - Browse repository at this point
Copy the full SHA cdbdc01View 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 v18.1.0...v18.1.1