winex11.drv: import X11's "text/html" as "HTML Format"

Damjan Jovanovic damjan.jov at gmail.com
Sat Jul 19 08:06:51 CDT 2014


Implements proper importing of "text/html" into Windows's "HTML
Format". Does conversion from (Firefox's) UTF16-LE with BOM into UTF-8
w/o BOM if necessary, rewrites the HTML with libxml2 to generate a
complete HTML document with <HTML> and <BODY> tags, finds the location
of the <BODY> tag and uses its contents surrounded by
<!--startFragment --> and <!--endFragment --> comments for the
StartFragment/EndFragment addresses.

Fixes pasting rich text into a large number of apps and closes #7372.

Damjan Jovanovic
---
 dlls/winex11.drv/Makefile.in |   4 +-
 dlls/winex11.drv/clipboard.c | 155 ++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 156 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11.drv-import-X11-s-text-html-as-HTML-Format.txt
Type: text/x-patch
Size: 7476 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140719/d97fd908/attachment-0001.bin>


More information about the wine-patches mailing list