Commit 3e27b7c
authored
Normalize consecutive newlines in Beehiiv output (#118)
### Motivation
- Prevent the generated Beehiiv HTML from containing repeated blank lines by collapsing consecutive newline runs into a single newline.
### Description
- In `vscode-to-beehiiv.html` update `convertMarkdownToBeehiiv` to assemble the final HTML into a local `html` variable and return `html.replace(/\n{2,}/g, '\n')` so consecutive `\n` runs are collapsed.
------
[Codex Task](https://chatgpt.com/codex/tasks/task_e_69a1afc696188325b90b24eb572f8200)1 parent f11e994 commit 3e27b7c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
0 commit comments