fix(deps): update dependency markdown-to-jsx to v7.7.2 #1902
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.4.7
->7.7.2
Release Notes
quantizor/markdown-to-jsx (markdown-to-jsx)
v7.7.2
Compare Source
Patch Changes
52a727c
: UseReactNode
instead ofReactChild
for React 19 compatibility4fa87d8
: Bump ws from 8.11.0 to 8.18.0v7.7.1
Compare Source
Patch Changes
9d42449
: Factor out unnecessary element cloning.8920038
: Remove use of explicit React.createElement.v7.7.0
Compare Source
Minor Changes
20777bf
: Add support for GFM alert-style blockquotes.Patch Changes
5d7900b
: Adjust type signature for<Markdown>
component to allow for easier composition.918b44b
: Use newerReact.JSX.*
namespace instead ofJSX.*
for React 19 compatibility.91a5948
: Arbitrary HTML no longer punches out pipes when parsing rows. If you absolutely need a pipe character that isn't a table separator, either escape it or enclose it in backticks to trigger inline code handling.23caecb
: Drop encounteredref
attributes when processing inline HTML, React doesn't handle it well.v7.6.2
Compare Source
Patch Changes
0274445
: Fix false detection of tables in some scenarios.69f815e
: Handleclass
attribute from arbitrary HTML properly to avoid React warnings.857809a
: Fenced code blocks are now tolerant to a missing closing sequence; this improves use in LLM scenarios where the code block markdown is being streamed into the editor in chunks.v7.6.1
Compare Source
Patch Changes
87d8bd3
: Handleclass
attribute from arbitrary HTML properly to avoid React warnings.v7.6.0
Compare Source
Minor Changes
2281a4d
: Addoptions.disableAutoLink
to customize bare URL handling behavior.By default, bare URLs in the markdown document will be converted into an anchor tag. This behavior can be disabled if desired.
Patch Changes
fb3d716
: Simplify handling of fallback scenario if a link reference is missing its corresponding footnote.v7.5.1
Compare Source
Patch Changes
b16f668
: Fix issue with lookback cache resulting in false detection of lists inside lists in some scenarios58b96d3
: fix: handle empty HTML tags more consistently #597v7.5.0
Compare Source
Minor Changes
62a16f3
: Allow modifying HTML attribute sanitization whenoptions.sanitizer
is passed by the composer.By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the
href
of an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export calledsanitizer
.This can be overridden and replaced with a custom sanitizer if desired via
options.sanitizer
:Patch Changes
553a175
: Replace RuleType enum with an objectConfiguration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.