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

Handle <br> inside <dl> #80

Open
alkisg opened this issue Jan 8, 2022 · 0 comments
Open

Handle <br> inside <dl> #80

alkisg opened this issue Jan 8, 2022 · 0 comments

Comments

@alkisg
Copy link

alkisg commented Jan 8, 2022

The following input (instead of <br>, two spaces can also be used):

**ADD_IMAGE_EXCLUDES**=*"/etc/ltsp/add-image.excludes"*<br>
**OMIT_IMAGE_EXCLUDES**=*"home/\*"*
:   Add or omit items to the `ltsp image` exclusion list.

gives a completely messed up output, with some parts missing and some other parts getting duplicated:

.TP
\fBOMIT_IMAGE_EXCLUDES\fP=\fI"home/*"\fP
Add or omit items to the \fB\fCltsp image\fR exclusion list.

.PP
Add or omit items to the \fB\fCltsp image\fR exclusion list.

To work around this, currently I'm using sed to change the initial markdown code to:

**ADD_IMAGE_EXCLUDES**=*"/etc/ltsp/add-image.excludes"*
:

**OMIT_IMAGE_EXCLUDES**=*"home/\*"*
:   Add or omit items to the `ltsp image` exclusion list.

With a bit of pre-processing and post-processing and special casing, go-md2man produces nice output! We'll switch to that again for ltsp.org, thank you!

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

No branches or pull requests

1 participant