ideashower / ShareKit

Drop in sharing features for all iPhone and iPad apps
http://getsharekit.com
1.79k stars 375 forks source link

SHKMail doesn't respect newline character in text #164

Open objectmethod opened 13 years ago

objectmethod commented 13 years ago

[SHKMail shareText:@"Line 1 \n Line 2"];

The resulting email's body does not have any line breaks in it.

objectmethod commented 13 years ago

Ok. It's because it's hard-coded to assume the email's body is HTML format.

memmons commented 13 years ago

This seems problematical since some services such as twitter or facebook don't allow html. It would be nice to be able to specify both flavors of text (html and plain text) and allow the service to use whichever one it allows.