Hi,
I am replacing a word in the doc file with some date in different format. In all the format day of month will come along with its superscript(for eg: 19th th has superscript ), and for some reason i have to add the superscript in html.So i am adding the superscript as <span style=“vertical-align: super;”>. For date format, month and year coming after date also coming as superscript. Attaching sample code with input,output and expected output SuperscriptIssue.zip (57.7 KB). Please help me to solve this issue.
The “output.docx” you shared was generated by Aspose.Words for Java 20.6; but, we have managed to produce a similar output when using Aspose.Words for Java 20.11 on our end. We are checking this scenario further on our end and will get back to you soon.