Repository navigation
Step recorder logic fix - #101
Merged
Merged
Conversation
acywatson
pushed a commit
that referenced
this pull request
Apr 9, 2022
* step recorder: fix logic in the right/arrow key
etrepum
pushed a commit
to etrepum/lexical
that referenced
this pull request
Oct 30, 2026
…write nested pieces in place ## Description The export's autolink check stopped at the backslash that escapes `_`, `~` or `*`, so a mention like `@john_doe` or a URL path like `/a_b` next to formatted punctuation got a reference written inside it (`@john\_do&meta#101;**(x)**`). The check now steps over escaping backslashes. Nested inline elements also wrote their pieces into a fresh array that the parent copied; they now write into the caller's pieces, in both the full and the selection export. ## Test plan ### Before ``` pnpm vitest run --project unit packages/lexical-markdown/src/__tests__/unit/LexicalMarkdown.test.ts -t autolink × writes no reference inside "https://example.com/a_b", which readers may autolink × writes no reference inside "@john_doe", which readers may autolink Tests 2 failed | 3 passed | 698 skipped (703) ``` ### After ``` pnpm vitest run --project unit packages/lexical-markdown Tests 879 passed (879) ``` Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 should fix: