markup icon indicating copy to clipboard operation
markup copied to clipboard

Fix HTML rendering when there is a line break between backticks

Open shoelzer opened this issue 2 years ago • 16 comments

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

shoelzer avatar May 03 '23 19:05 shoelzer

Stale issue message

github-actions[bot] avatar Jul 11 '24 12:07 github-actions[bot]

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

shoelzer avatar Jul 11 '24 14:07 shoelzer

Stale issue message

github-actions[bot] avatar Sep 10 '24 12:09 github-actions[bot]

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

shoelzer avatar Sep 10 '24 15:09 shoelzer

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[bot] avatar Nov 11 '24 12:11 github-actions[bot]

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

shoelzer avatar Nov 11 '24 14:11 shoelzer

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[bot] avatar Feb 16 '25 12:02 github-actions[bot]

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

shoelzer avatar Feb 18 '25 14:02 shoelzer

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[bot] avatar Apr 21 '25 12:04 github-actions[bot]

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

shoelzer avatar Apr 21 '25 13:04 shoelzer

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[bot] avatar Jun 22 '25 12:06 github-actions[bot]

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

shoelzer avatar Jun 22 '25 14:06 shoelzer

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[bot] avatar Aug 23 '25 12:08 github-actions[bot]

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

shoelzer avatar Aug 23 '25 19:08 shoelzer

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[bot] avatar Oct 23 '25 12:10 github-actions[bot]

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

shoelzer avatar Oct 23 '25 15:10 shoelzer