Skip to content

[lexical-markdown] Code backslash fix - #7958

Merged
etrepum merged 2 commits into
meta:mainfrom
MarekKuncik:code_backslash_fix
Oct 30, 2025
Merged

etrepum merged 2 commits into
meta:mainfrom
MarekKuncik:code_backslash_fix

Conversation

@MarekKuncik

@MarekKuncik MarekKuncik commented Oct 29, 2025 •

Copy link
Copy Markdown
Contributor

Description

Inserting a backslash \ before or after closing backtick ( e.g. test\ or test\ ) breaks code text formatting.

Closes #

Test plan

Before

Backslash before closing backtick

chrome-capture-2025-10-29

Backslash after closing backtick

chrome-capture-2025-10-29 (2)


After

Backslash before closing backtick

chrome-capture-2025-10-29 (3)

Backslash after closing backtick

chrome-capture-2025-10-29 (4)

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 29, 2025
@vercel

vercel Bot commented Oct 29, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Oct 29, 2025 1:45pm
lexical-playground Ready Ready Preview Comment Oct 29, 2025 1:45pm

@fantactuka

Copy link
Copy Markdown
Contributor

A bit surprising it behaves differently for other inlines styles (code vs italic), thanks for fixing!

@etrepum
etrepum added this pull request to the merge queue Oct 30, 2025
Merged via the queue into meta:main with commit 34cab58 Oct 30, 2025
@etrepum etrepum mentioned this pull request Oct 31, 2025

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 8866ab8d Deployed Oct 29, 2025 by vercel[bot]
Preview – lexical — 8866ab8d Deployed Oct 29, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants