1
2
How can rich text or HTML source code be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o
for the same selection just outputs plain text. I'd like to pull the HTML out and into a text editor.
It does appear to obtain the HTML source itself: things like the class properties of <div> elements are preserved. – intuited – 2010-05-23T03:08:10.243
improve the title of your question to match what you really want: the source code of the website / rich text... – akira – 2010-07-06T10:42:07.143
@akira: Thanks for your suggestion. It would have been more polite to phrase it as such. – intuited – 2010-07-06T15:12:52.333
not polite, just more to the point :) – akira – 2010-07-06T18:39:32.670