github / github/markup

Fix HTML rendering when there is a line break between backticks

オープン
#1,689 コメント 26 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
6k
フォーク
3.4k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。