mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Small improvement
This commit is contained in:
@@ -3914,10 +3914,10 @@ public class MessageHelper {
|
||||
Parser p = Parser.builder().build();
|
||||
org.commonmark.node.Node d = p.parse(result);
|
||||
HtmlRenderer r = HtmlRenderer.builder().build();
|
||||
return r.render(d);
|
||||
result = r.render(d);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
return HtmlHelper.formatPlainText(Log.formatThrowable(ex));
|
||||
result = HtmlHelper.formatPlainText(Log.formatThrowable(ex));
|
||||
}
|
||||
} else if (h.isReport()) {
|
||||
Report report = new Report(h.contentType.getBaseType(), result);
|
||||
|
||||
Reference in New Issue
Block a user