Skip to content

Unexpected HTML paste when copying code from Gitea #80

Open
@silverwind

Description

Originally reported in go-gitea/gitea#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>

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions