Repository navigation
[Doc] Preserve migration tables when removing front matter - #5432
Merged
Vincent Baaij (vnbaaij) merged 6 commits intoOct 14, 2026
Merged
Vincent Baaij (vnbaaij) merged 6 commits into
Vincent Baaij (vnbaaij) merged 6 commits into
Conversation
Minwook Shin (minwookshin)
requested review from
Denis Voituron (dvoituron) and
Vincent Baaij (vnbaaij)
as code owners
October 11, 2026 14:56
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The anchored replacement addresses the reported corruption and is covered by focused regression cases.
0 open findings
What changed in this PR
Fixes migration documentation rendering by limiting front matter removal to the leading standalone-delimited block.
Changes:
- Anchors front matter removal to the document start.
- Adds five regression cases covering tables, horizontal rules, fenced examples, and incomplete headers.
- Embeds representative migration documents as test resources.
| File | Description |
|---|---|
examples/Tools/FluentUI.Demo.DocViewer/Services/DocViewerService.cs |
Restricts front matter removal. |
examples/Tools/FluentUI.Demo.DocViewer.Tests/Services/DocViewerServiceTests.cs |
Adds regression tests. |
examples/Tools/FluentUI.Demo.DocViewer.Tests/Resources/WithoutHeaders.md |
Tests preserved headerless Markdown. |
examples/Tools/FluentUI.Demo.DocViewer.Tests/Resources/WithHeaders.md |
Tests body preservation after front matter. |
examples/Tools/FluentUI.Demo.DocViewer.Tests/Resources/UnclosedHeaders.md |
Tests incomplete front matter preservation. |
examples/Tools/FluentUI.Demo.DocViewer.Tests/FluentUI.Demo.DocViewer.Tests.csproj |
Embeds test and migration resources. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Denis Voituron (dvoituron)
requested changes
Oct 11, 2026
Denis Voituron (dvoituron)
requested changes
Oct 12, 2026
Minwook Shin (minwookshin)
force-pushed
the
fix/docviewer-migration-tables
branch
from
October 13, 2026 01:18
72607d2 to
ce2d753
Compare
Contributor
Author
|
Shared front-matter parsing between pages and includes, with CR/LF/CRLF regression coverage. Rebased on dev; the full solution builds and all 6,225 tests pass. |
Denis Voituron (dvoituron)
requested changes
Oct 13, 2026
Denis Voituron (dvoituron)
approved these changes
Oct 14, 2026
Vincent Baaij (vnbaaij)
approved these changes
Oct 14, 2026
This was referenced Oct 14, 2026
Closed
Closed
This was referenced Oct 19, 2026
Closed
Closed
This was referenced Oct 28, 2026
Merged
Closed
This was referenced Nov 9, 2026
This was referenced Nov 19, 2026
Merged
Closed
This was referenced Nov 27, 2026
Closed
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.
📖 Description
Fixed front matter removal stripping table separators from the migration docs. Only the leading front matter block is removed now; tables, horizontal rules, and fenced examples are preserved.
Fixes #5393.
📑 Test Plan
✅ Checklist
Assisted by Codex.