Missing symbols for lists

Good afternoon, we have an MARKDOWN document that we can convert to OoxmlSaveOptions with one setting, SaveFormat.FlatOpc. After conversion, the symbol responsible for an unnamed list does not work. The initial symbol is * but after replacing I only get symbols that are not displayed. I need to get regular dot in unordered lists, how can I solve this problem?

My code

listLevel.Font.Name = "Symbol";
listLevel.NumberFormat = "\x00b7";
listLevel.NumberStyle = NumberStyle.Bullet;

Problem here

@lecoye4578 The following code works fine on my side:

string mdString = "**This is a list in MD**\r\n\r\n* List Item\r\n* List Item\r\n* List Item";
using (MemoryStream mdStream = new MemoryStream(Encoding.UTF8.GetBytes(mdString)))
{
    LoadOptions opt = new LoadOptions();
    opt.LoadFormat = LoadFormat.Markdown;
    Document doc = new Document(mdStream, opt);

    foreach (Paragraph p in doc.GetChildNodes(NodeType.Paragraph, true))
    {
        if (p.IsListItem && p.ListFormat.ListLevel.NumberFormat == "*")
        {
            p.ListFormat.ListLevel.Font.Name = "Symbol";
            p.ListFormat.ListLevel.NumberFormat = "\x00b7";
        }
    }

    doc.Save(@"C:\Temp\out.xml", new OoxmlSaveOptions(SaveFormat.FlatOpc));
}

Here is the output: out.zip (4.4 KB)

Good afternoon, I rechecked everything again, but it still doesn’t work for me. Moreover, if I set SaveFormat.docx then everything works correctly, but in the format that we need it does not work, I tried different encodings, but I have no successful results.

@lecoye4578 As I can see you are returning FLatOpc as string. Please try saving FlatOpc dirrectly to a file. I suspect there is some problem with string encoding on your side and this causes the problem.