Jake Howell
2d03f7fd3d
fix: resolve rendering issues with GFM alert boxes in <DynamicParameter /> ( #22241 )
...
Closes #22189
GFM alerts (e.g., `> [!IMPORTANT]`) in Markdown content failed to render
when the alert body contained inline formatting like `**bold**`,
`*italic*`, or `` `code` ``. The alert marker and subsequent text were
merged into a single string node by the parser, causing the type
detection to fail and fall back to a plain blockquote.
Additionally, multi-line alert content (`> line one\n> line two`) lost
its line breaks — all lines collapsed into one.
- Split the alert marker from trailing content in shared string nodes so
type detection works with inline formatting
- Preserve embedded newlines as `<br/>` elements to match GitHub's GFM
alert rendering
- Wrap plain-text children instead of splitting on `\n` to avoid
stripping newline information early
<img width="447" height="187" alt="image"
src="https://github.com/user-attachments/assets/d2fa3495-0b31-483c-97d8-12fed6819e24 "
/>
2026-04-01 17:20:55 +11:00
..
2026-03-26 16:20:25 -06:00
2026-03-31 11:10:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-25 15:21:19 -06:00
2026-03-26 16:20:25 -06:00
2026-03-28 21:33:42 +00:00
2026-03-26 16:20:25 -06:00
2026-03-28 21:33:42 +00:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:04:24 -06:00
2026-03-24 16:04:39 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-02-20 12:54:25 +11:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:04:24 -06:00
2026-03-31 10:07:33 -06:00
2026-03-28 21:33:42 +00:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:04:24 -06:00
2026-03-27 05:51:51 +00:00
2026-03-26 16:04:24 -06:00
2026-03-26 16:20:25 -06:00
2026-03-05 07:38:49 -05:00
2026-03-26 16:04:24 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-24 16:04:39 -06:00
2026-03-26 16:20:25 -06:00
2026-03-25 15:21:19 -06:00
2026-03-31 11:10:33 -06:00
2026-03-31 10:07:33 -06:00
2026-03-31 10:07:33 -06:00
2026-03-31 21:50:05 +01:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-31 10:07:33 -06:00
2026-04-01 17:20:55 +11:00
2026-03-24 16:04:39 -06:00
2026-03-26 16:20:25 -06:00
2026-03-27 16:41:56 -06:00
2026-03-26 16:04:24 -06:00
2026-03-31 10:07:33 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:04:24 -06:00
2026-03-26 16:04:24 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:04:24 -06:00
2026-03-31 11:10:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:04:24 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 10:07:33 -06:00
2025-12-24 12:08:13 +11:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-02-10 16:41:20 -07:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-30 11:18:18 +01:00
2026-02-07 18:50:28 +11:00
2026-03-26 16:20:25 -06:00
2026-03-24 16:04:39 -06:00
2026-03-24 16:04:39 -06:00
2025-09-26 10:52:53 -03:00
2026-03-26 16:20:25 -06:00
2026-03-24 16:04:39 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-26 16:20:25 -06:00
2026-03-31 11:10:33 -06:00
2026-03-26 16:20:25 -06:00
2026-02-13 03:08:13 +11:00