Fix text nodes of message with HTML entitites

This commit is contained in:
Francis Lachapelle 2014-04-07 11:20:19 -04:00
parent 526e21e837
commit 534e4e3d4d
2 changed files with 2 additions and 1 deletions

1
NEWS
View file

@ -3,6 +3,7 @@
Bug fixes Bug fixes
- fixed saved HTML content of draft when attaching a file - fixed saved HTML content of draft when attaching a file
- fixed text nodes of HTML content handler by encoding HTML entities
2.2.3 (2014-04-03) 2.2.3 (2014-04-03)
------------------ ------------------

View file

@ -417,7 +417,7 @@
{ {
if (!ignoreContent) if (!ignoreContent)
{ {
[result appendString: [NSString stringWithCharacters: characters length: length]]; [result appendString: [[NSString stringWithCharacters: characters length: length] stringByEscapingHTMLString]];
} }
} }