Commit c6deabb
Fix pages rendering: capture rendered markdown before MergeContent replaces it
MergeContent swaps the document content with the Razor template, so
GetContentStringAsync() in the model builder returned Razor source instead
of the rendered markdown. Store the HTML in RenderedBody metadata after
RenderMarkdown, then read it from there when building the Page model.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d81aeba commit c6deabb
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments