I found this code and it seemed like it might help me with an e-mail RTF to HTML issue.
I am trying to run your DEMO code, but getting a null for root.
The RTF string I am using for testing is:
{\rtf1\ansi\deff0 {\fonttbl {\f0 Courier;}}\r\n {\colortbl;\red0\green0\blue0;\red255\green0\blue0;}\r\n This line is the default color\line\r\n \cf2\r\n \tab This line is red and has a tab before it\line\r\n \cf1\r\n \page This line is the default color and the first line on page 2\r\n}
Hello,
I found this code and it seemed like it might help me with an e-mail RTF to HTML issue.
I am trying to run your DEMO code, but getting a null for root.
The RTF string I am using for testing is: {\rtf1\ansi\deff0 {\fonttbl {\f0 Courier;}}\r\n {\colortbl;\red0\green0\blue0;\red255\green0\blue0;}\r\n This line is the default color\line\r\n \cf2\r\n \tab This line is red and has a tab before it\line\r\n \cf1\r\n \page This line is the default color and the first line on page 2\r\n}
Not sure why I am getting the null return.
Can you help tell me what I am doing wrong?
Thanks!