Office js OfficeJS Outlook邮件正文getasync为<;p>;标签

Office js OfficeJS Outlook邮件正文getasync为<;p>;标签,office-js,outlook-addin,outlook-web-addins,Office Js,Outlook Addin,Outlook Web Addins,我正在使用getAsync方法检索outlook正文。但是该值在标记上没有正确的样式 Office.context.mailbox.item.body.getAsync("html", { asyncContext: event }, function(result) { console.log(result.value); }); 原文是这样的吗 <p><span style="font-family:Arial,sans-serif;&q

我正在使用getAsync方法检索outlook正文。但是该值在标记上没有正确的样式

Office.context.mailbox.item.body.getAsync("html", { asyncContext: event }, function(result) {
  console.log(result.value);
});
原文是这样的吗

<p><span style="font-family:Arial,sans-serif;">If you’re available, what’s the best way to schedule?</span></p>
如果您有空,安排时间的最佳方式是什么

但是从getAsync我得到了这个

<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-weight:400">If you’re available, what’s the best way to schedule?</span></p>

这意味着为标记获得了额外的样式
style=“margin top:0px;margin bottom:0px;”
还删除了标记中字体的样式


是office js行为还是对此的任何修复?

您在哪个平台上遇到此问题?OWAWe中出现的问题无法重新解决此问题。你能提供更多细节吗?1.此问题是否特定于任何浏览器?2.尸体是怎么放在这里的?这是使用Body API完成的吗?