Commit 48f6644
committed
fix: restore template placeholders broken by Prettier formatting
Prettier reformatted {{MARKED_JS}}, {{HIGHLIGHT_JS}}, and {{JS}} placeholders
in the session export HTML template into multi-line blocks with semicolons:
{ { MARKED_JS; } }
This broke the string .replace() calls in commands-export-session.ts, causing
exported sessions to render as empty pages (no JS injected).
Restored compact {{PLACEHOLDER}} format and added the template to
.prettierignore to prevent recurrence.
Fixes #499571 parent 4229ffe commit 48f6644
2 files changed
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 68 | + | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
80 | 72 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 73 | + | |
86 | 74 | | |
87 | 75 | | |
88 | 76 | | |
0 commit comments