Subscript and superscript in metafile images show as ? when converting DOCX to HTML

Hi,

When converting a DOCX with a metafile that contains math subscripts or superscripts to an HTML output with HtmlSaveOptions.MetafileFormat set to Svg, I noticed the text became question marks (?).

Code:

 var doc = new Document(@".\test.docx");
 var option = new HtmlSaveOptions();
 option.MetafileFormat = HtmlMetafileFormat.Svg;
 doc.Save(@".\out.html", option);

We are using SVG for MetafileFormat because it offers the best quality in HTML output however this issue has blocked us from using the feature properly.

I’ve attached the test file and a screenshot for your reference. Could you please take a look?

test.zip (18.5 KB)

Thanks,

@ServerSide527
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27665

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.