FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(utils): preserve inline code containing XML-like text in excerpts by Soumoditya · Pull Request #12362 · facebook/docusaurus · GitHub

fix(utils): preserve inline code containing XML-like text in excerpts - #12362

Closed
Soumoditya wants to merge 1 commit into
facebook:mainfrom
Soumoditya:work/excerpt-fix
Closed

fix(utils): preserve inline code containing XML-like text in excerpts#12362
Soumoditya wants to merge 1 commit into
facebook:mainfrom
Soumoditya:work/excerpt-fix

Conversation

Copy link
Copy Markdown

Fix createExcerpt() so inline code survives the HTML-stripping pass, which was dropping text like <metadata> from excerpts.

Added regression tests for inline code containing XML-like text, both with and without a surrounding link.

Closes #11818

meta-cla Bot commented Aug 13, 2026

Copy link
Copy Markdown

Hi @Soumoditya!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 6fc577e
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a7e04a027484500082a33be
😎 Deploy Preview https://deploy-preview-12362--docusaurus-2.netlify.app
📱 Preview on mobile Toggle QR Code...



Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

meta-cla Bot added the CLA Signed Signed Facebook CLA label Aug 22, 2026

meta-cla Bot commented Aug 22, 2026

Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

slorber closed this Aug 24, 2026
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

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect page metadata when using markdown inline-code with XML tags inside

2 participants


Back | FazBrowse Home | New Git URL