fix(mu): email content not displayed due to sanitize html
(cherry picked from commit 2f06e52d81864a62d6e588bb24a6845e20371bf4)
This commit is contained in:
@@ -1175,11 +1175,16 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
consumeState(_parseCalendarEventInteractor!.execute(
|
||||
accountId,
|
||||
blobIds,
|
||||
TransformConfiguration.fromTextTransformers(const [
|
||||
SanitizeAutolinkUnescapeHtmlTransformer(),
|
||||
StandardizeHtmlSanitizingTransformers(),
|
||||
NewLineTransformer(),
|
||||
])
|
||||
TransformConfiguration.create(
|
||||
customTextTransformers: const [
|
||||
SanitizeAutolinkUnescapeHtmlTransformer(),
|
||||
StandardizeHtmlSanitizingTransformers(),
|
||||
NewLineTransformer(),
|
||||
],
|
||||
customDomTransformers: [
|
||||
SanitizeHyperLinkTagInHtmlTransformer(),
|
||||
]
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user