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

Add "--continuation" option to "xo" to allow multiple html lines #58

Closed
philshafer opened this issue Sep 11, 2018 · 0 comments
Closed
Assignees

Comments

@philshafer
Copy link

See https://lists.freebsd.org/pipermail/freebsd-hackers/2018-September/053304.html

If I choose HTML output I get the following invalid output which is missing
closing tags.

test1
,
2GB
test2
,
4GB

This can be fixed by adding "\n" to the end of the format lines, which may
be required, but it seems strange that I can so easily generate broken
output.

Yes, without a trailing newline, libxo can't declare the output
line "over", so it doesn't make the . The problem is that
there's no mechanism to "xo" that your output line is continued
from the previous one, and since "xo" is stateless, it will happily
start the next chunk of output with a new open div. I'll add a
"--continuation" option.

@philshafer philshafer self-assigned this Sep 11, 2018
philshafer pushed a commit that referenced this issue Nov 27, 2018
philshafer pushed a commit that referenced this issue Nov 27, 2018
philshafer pushed a commit that referenced this issue Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant