Insert newlines when exporting html
#105
Open
opened 4 years ago by casouri
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
By default,
->html
generates a single line of HTML. Is there any way to insert newlines before & after tags?I should add that I use
decode-paragraphs
for post-processing so hard-coded newlines are processed out IIUC.In the past I've built sites with a makefile that runs the output through tidy after Pollen has generated it. (example)
You might also try rolling your own
->html
function that composesdisplay-xml/content
withinwith-output-to-file
.Thanks, tidy is really handy. It probably does the job way better than what I could've come up with so I'll use that.