paste-markdown icon indicating copy to clipboard operation
paste-markdown copied to clipboard

Pasting same title in html/markdown causes output to be nested

Open six7 opened this issue 1 year ago • 1 comments

This is an issue that was forwarded to me, but I'm able to reproduce.

If text/html and text/plain contain the same title, the output we return is nested.

Expected output: [[Same](https://google.com/)](https://google.com)" Actual output: [Same](https://google.com)

Reproduction: https://codepen.io/tarngerine/pen/ZEZBEpy

Try pressing the Copy button on either of the examples and try pasting into any GitHub comment box.

six7 avatar Mar 18 '24 15:03 six7

Agradese a papa que te salvo Screenshot_20240227-113248_Chrome Screenshot_20240302-065701_Chrome Beta Screenshot_20240308-122034_Chrome la esistebsia

Mariosalaslopez avatar Mar 27 '24 12:03 Mariosalaslopez