fix(mail): Use text/plain fallback if an error occured while parsing html message

This commit is contained in:
smizrahi
2024-02-05 10:50:07 +01:00
parent ce0e650c62
commit f56910db1e
4 changed files with 112 additions and 5 deletions

View File

@@ -23,9 +23,10 @@
#import "UIxMailPartViewer.h"
@interface UIxMailPartHTMLViewer : UIxMailPartViewer
@interface UIxMailPartHTMLViewer : UIxMailPartViewer <SaxErrorHandler>
{
id handler;
NSException *ex;
}
- (NSString *) flatContentAsString;
@@ -35,6 +36,7 @@
@interface UIxMailPartExternalHTMLViewer : UIxMailPartViewer
{
id handler;
NSException *ex;
}
- (NSString *) flatContentAsString;