notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

‘Paste HTML Content’ not fully implemented

Open
#13,748 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

When retrieving CF_HTML from the clipboard, the retrieved data includes extra context information if the HTML is a fragment.
Notepad++ pastes this entire context verbatim.
It would be useful if StartFragment and EndFragment were used to extract just the HTML that was placed on the clipboard.

Attached is a simple HTML file that will place an HTML fragment on the clipboard.

HTML Clipboard Format
HTMLToClipboard.gz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the paste with the attached HTMLToClipboard file and review the CF_HTML specification linked in the issue. Trace the clipboard retrieval and HTML-fragment handling; done means pasting only the content between StartFragment and EndFragment rather than the surrounding context.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.