Markdown copy-paste bug: link jumps
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- frontend
Direzione di ricerca
Riproduci il problema copiando la frase riportata e incollandola in un campo per i commenti di GitHub, quindi segui il punto di ingresso della gestione dell’incollamento nel repository. Confronta il Markdown incollato con l’output previsto a tre link mostrato nell’issue. Il lavoro è completato quando il terzo link rimane associato alla sua etichetta senza modificare gli altri link.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 234
- Fork
- 47
- Merge medio
- 1g 12h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/paste-markdown
-
Pasting a link whose text/html label is a shortened form of its URL plants a `[` inside the URL Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/paste-markdown#118 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/paste-markdown#107 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
github/paste-markdown#104 ·
-
Examples page is broken Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
github/paste-markdown#100 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
github/paste-markdown#96 · 1 commento ·
Tutte le issue di github/paste-markdown
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
web-platform-tests/interop#1455 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100