Commit d122c7d
committed
fix: parse overlay markdown body to HTML before storing
The overlay body was stored as raw markdown but rendered via raw() on
detail pages, which expects HTML. Now uses marked.parse() during load
so headings, emphasis, and paragraphs render correctly.1 parent c3d5c77 commit d122c7d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments