Markdown copy-paste bug: link jumps
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- frontend
調査の方向性
レポート内の文をコピーして GitHub のコメント欄に貼り付けることで問題を再現し、次にリポジトリ内で貼り付け処理のエントリポイントを追跡します。貼り付け後の Markdown を、issue に示されている期待される 3 リンクの出力と比較します。3 番目のリンクが他のリンクを変更せずにラベルに付いたままになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm copying a mere line of text from my own older post to quote it in a new post.
This line got 3 embedded urls, two of which are copied correctly, but the 3rd breaks weirdly.
Reproduction Steps
-
Select the sentence below and hit CTRL+C:
- Blah-blah [1], [2] foo z2-3, bar [3].
- Underlying markdown code:
Blah-blah [[1](https://goo.gl)], [[2](https://goo.gl)] foo z2-3, bar [[3](https://goo.gl)]. - Underlying html code (obtained with Right-click -> Inspect -> Copy element):
<p dir="auto">Blah-blah [<a href="https://goo.gl" rel="nofollow">1</a>], [<a href="https://goo.gl" rel="nofollow">2</a>] foo z2-3, bar [<a href="https://goo.gl" rel="nofollow">3</a>].</p> -
Find any "Add a comment" text input field on https://github.com/ and CTRL+V there. The result looks like this (note that the last link suddenly "jumped"):
I've originally reported this to https://support.github.com/contact/bug-report , but they asked me to report it here.
- 主要言語
- JavaScript
- スター
- 234
- フォーク
- 47
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/paste-markdown のほかの issue
-
Pasting a link whose text/html label is a shortened form of its URL plants a `[` inside the URL オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/paste-markdown#118 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/paste-markdown#107 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
github/paste-markdown#104 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
github/paste-markdown#100 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
github/paste-markdown#96 · コメント 1 件 ·
github/paste-markdown の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1414 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·