Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank lines squashed in <pre> blocks in Roff output #22

Closed
sunaku opened this issue Apr 18, 2010 · 5 comments
Closed

blank lines squashed in <pre> blocks in Roff output #22

sunaku opened this issue Apr 18, 2010 · 5 comments
Labels

Comments

@sunaku
Copy link
Contributor

sunaku commented Apr 18, 2010

I have an implicit Markdown <pre> block (created by 4 space prefix) containing blank lines (which still have the 4 space prefix). In Ronn 0.5's HTML output, the blank lines are preserved correctly, but in the Roff output, the blank lines are squashed into a single blank line.

@sunaku
Copy link
Contributor Author

sunaku commented Apr 18, 2010

Hmm, actually this is not Ronn's fault. I looked at the generated Roff output and the blank lines are indeed there. The problem is really with man(1) squashing the blank lines... maybe the .nf directive does not preserve blank lines? Is there some other Roff directive we can use instead?

@rtomayko
Copy link
Owner

Weird. I thought I fixed this in the last release. The .nf blocks were being line stripped. It may be necessary to embed some kind of line ending directive, yes.

@rtomayko
Copy link
Owner

@sunaku, you have something in your fork for this, yes?

@rtomayko
Copy link
Owner

I believe this is fixed.

@sunaku
Copy link
Contributor Author

sunaku commented Jun 21, 2010

@rtomayko, I did not fix this in my fork. I'll verify the problem again with the latest HEAD.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants