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

Fix HTML rendering when there is a line break between backticks #1689

Open
shoelzer opened this issue May 3, 2023 · 4 comments
Open

Fix HTML rendering when there is a line break between backticks #1689

shoelzer opened this issue May 3, 2023 · 4 comments

Comments

@shoelzer
Copy link

shoelzer commented May 3, 2023

A line break between backticks gets turned into a line break inside a HTML <code> block. This makes browsers render with a line break when that was not intended.

Real world example here:
https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-push.adoc

These lines:

If you are migrating a repository with these commands, make sure to run `git
lfs push` for any additional remote refs that contain Git LFS objects not

Turn into this HTML:

If you are migrating a repository with these commands, make sure to run <code>git
lfs push</code> for any additional remote refs that contain Git LFS objects not
Copy link

Stale issue message

@shoelzer
Copy link
Author

This is still an issue. The linked page still renders incorrectly.

Copy link

Stale issue message

@shoelzer
Copy link
Author

This is still an issue. The linked page still renders incorrectly.

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