On my website admin uploads a file .docx. I am converting a file in xmlusing OpenXmlPowerToolsApi.
The problem is that there are several bullets in the document.
• This is my mark 1 in the document.
• This is my bullet 2 in the document.
XElement html = OpenXmlPowerTools.HtmlConverter.ConvertToHtml(wDoc, settings);
var htmlString = html.ToString();
File.WriteAllText(destFileName.FullName, htmlString, Encoding.UTF8);
Now, when I open the xml file, it displays the bullets as shown below: -

I need to read every XML node and save to the database and restore html from the nodes.
Please do not ask me why this is because I am not the boss of the system.
How to get the correct display of markers in xml so that I can save the correct html in the database?
source
share