Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
- Subject: Re: -[NSAttributedString initWithPasteboard:...] vs. Dictionary
- From: Jim Correia <email@hidden>
- Date: Sun, 29 Jan 2006 14:05:32 -0500
On Jan 29, 2006, at 9:56 AM, Jim Correia wrote:
If the Dictionary application is the source of the pasteboard
(WebArchivePBoardType), -[NSAttributedString
initWithPasteboard:options:documentAttributes:error:] does not
return an error, but does return an attributed string of the form:
This page contains the following errors:
error on line 1 at column 95: Opening and ending tag mismatch: hr
line 0 and td
Below is a rendering of the page up to the first error.
It looks like NSAttributedString is innocent here, and that
Dictionary put a web archive with those contents on the pasteboard.
I'm not sure why it would do that, but I'll have to work around it...
rdar://4425889
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden