Commit edbef93
authored
Fix code block blank-line preservation in Beehiiv converter (#125)
### Motivation
- Preserve intentional empty lines inside fenced code blocks which were being stripped because `convertMarkdownToBeehiiv` collapsed consecutive newlines at the end of conversion.
### Description
- Removed the final global newline-collapsing call (`return html.replace(/\n{2,}/g, '\n')`) so the generated HTML is returned unchanged and blank lines inside `<pre><code>` are preserved.
------
[Codex Task](https://chatgpt.com/codex/tasks/task_e_69cbbbb08130832580b1c4dcb74c2185)1 parent c03c9da commit edbef93
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments