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 · 6 comments
Open

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

shoelzer opened this issue May 3, 2023 · 6 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.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 11, 2024
@shoelzer
Copy link
Author

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

@github-actions github-actions bot removed the Stale label Nov 12, 2024
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