Repository navigation
Ghostty on macOS pastes using the public.html representation #12519
Unanswered
gpakosz
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
On macOS, when an application puts content in the pasteboard and one of the representation is
public.html, Ghostty picks it instead of thepublic.urlone.Details:
I'm using an internal application that's copying a link into the general pasteboard. Among representations, it creates
public.url:https://example.compublic.html:<a href="https://example.com">https://example.com</a>Expected Behavior
When pasting, Ghostty should paste
https://example.com, using thepublic.url,public.textorpublic.utf8-plain.textrepresentations.Actual Behavior
My observation is that Ghostty prefers using the
public.htmlrepresentation and pasteshttps://example.com https://example.com.The URL is actually pasted twice, as if the content was stripped from any HTML tags.
Reproduction Steps
Unfortunately I can't share the app that populates the general pasteboard.
Ghostty Logs
Ghostty Version
OS Version Information
macOS Tahoe 26.3
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.All reactions