I am trying to convert the following RTF text to HTML using the Aspose converter.
RTF text:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}{\f1\fnil\fcharset2 Symbol;}} \viewkind4\uc1\pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\lang1024\f0\fs24 Bullet1\par {\pntext\f1\'B7\tab}Bullet2\par }
The bullet are not converted correctly to HTML format.
·Bullet1
Note: we are using the RTF RichTextBox Control of the visual studio.
Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. If you open your RTF in MS Word, you will get the same output. Please check the attached input.rtf. We have also attached the output html with this post for your kind reference.
The input.rtf is generated by using following steps.
1) Open notepad and paste the rtf contents in it.
2) Save the file with name “input.rtf”
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.