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

Unexpected HTML paste when copying code from Gitea

Open silverwind opened this issue 2 years ago • 0 comments

Originally reported in https://github.com/go-gitea/gitea/issues/22622. To reproduce:

  • Open this source file, select all code lines, copy them
  • Paste into GitHub comment box
  • Pasted content is completely mangled. Paste result below. Expectation would be to only paste the plaintext parts of the clipboard data.

{
--


<code class="code-inner"><span class="p">}</span>
</code>

silverwind avatar Jan 27 '23 17:01 silverwind