github / github/markup

Fix HTML rendering when there is a line break between backticks

Đang mở
#1,689 26 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
6k
Fork
3.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

A line break between backticks gets turned into a line break inside a HTML `` 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 git
lfs push
for any additional remote refs that contain Git LFS objects not

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.