Re: string to html.
Re: string to html.
- Subject: Re: string to html.
- From: Jens Alfke <email@hidden>
- Date: Fri, 16 May 2008 09:37:13 -0700
On 16 May '08, at 3:42 AM, email@hidden wrote:
NSAttributedString* textValue = [[NSAttributedString alloc]
initWithString: [self messageField]];//where messageField returns
string.
That's going to produce an attributed string with no text styles at
all, because all you gave it was a plain NSString. So I would expect
that the HTML returned would look mostly like the original text
(unless it includes "<" or "&".)
Were you intending to use styled text?
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden