Telerik.Windows.Document not converting numbered list properly

0 Answers 85 Views
RichTextBox
Prabhanath Nair
Top achievements
Rank 1
Prabhanath Nair asked on 29 Oct 2022, 03:27 AM | edited on 29 Oct 2022, 03:29 AM
We are using the latest Telerik.Windows.Document.dll (2022) and following is the logic I.e, used

string content ="<ol><li>1.hello</li><li>2.Hi</li></ol>;

Raddocument doc = HtmlFormatProvider.Import(content);
TxtFormatProvider txt = new TxtFormatProvider() ;
string output = txt.export(doc);

Output we are getting as:

.hello

.Hi

 

Basically the formating is totally gone. 

Note: We are using Telerik for WPF here .

Any issues reported like this in the latest Telerik dll, as we couldn't find much in the documentation? 
Tanya
Telerik team
commented on 01 Nov 2022, 02:18 PM

Hi Prabhanath Nair,

I have tested the case and it seems like everything is working as expected on our end. We haven't also received similar reports, thus I will much appreciate it if you can share more details on how we could reproduce the behavior you are observing. Are you able to reproduce it with the official examples? Can you share a sample project demonstrating the setup you have? 

No answers yet. Maybe you can help?

Tags
RichTextBox
Asked by
Prabhanath Nair
Top achievements
Rank 1
Share this question
or