We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

BUG report: mathml

I have a snippet of MATHML which was not rendered correctly in MS word. And my aspose words version is already the latest: 16.12.0.


<pre style=“font-family: “DejaVu Sans Mono”; font-size: 12pt;”>Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.insertHtml(
\n+ \t\n+ \t\t\n+ \t\t\t\n+ \t\t\t\t\n
+ \t\t\t\t\tssss\n+ \t\t\t\t\t2\n+ \t\t\t\t\n
+ \t\t\t\n+ \t\t\t\n+ \t\t\t\t12\n+ \t\t\t\n
+ \t\t\n+ \t\t\n+ \t\t\n+ \t\t\t\n
+ \t\t\t\t\n+ \t\t\t\t\tx\n+ \t\t\t\t\t2\n
+ \t\t\t\t\n+ \t\t\t\n+ \t\t\t\n
+ \t\t\t\t24\n+ \t\t\t\n+ \t\t\n
+ \t\t=\n+ \t\t1\n+ \t\n+ “”);
builder.writeln();
String savePath = “D:\test.docx”;
doc.save(savePath);

I have another snippet of MATHML which was not rendered correctly in MS word. And my aspose words version is already 16.12.0.


<pre style=“background-color: rgb(255, 255, 255); font-family: “DejaVu Sans Mono”; font-size: 12pt;”>Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.insertHtml(
\n+ \t\n+ \t\t\n+ \t\t\t\n+ \t\t\t\t\n
+ \t\t\t\t\tssss\n+ \t\t\t\t\t2\n+ \t\t\t\t\n
+ \t\t\t\n+ \t\t\t\n+ \t\t\t\t12\n+ \t\t\t\n
+ \t\t\n+ \t\t\n+ \t\t\n+ \t\t\t\n
+ \t\t\t\t\n+ \t\t\t\t\tx\n+ \t\t\t\t\t2\n
+ \t\t\t\t\n+ \t\t\t\n+ \t\t\t\n
+ \t\t\t\t24\n+ \t\t\t\n+ \t\t\n
+ \t\t=\n+ \t\t1\n+ \t\n+ “”);
builder.writeln();
String savePath = “D:\test.docx”;
doc.save(savePath);
Hi Tecky,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14641. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.