Skip to content

Taking null out of RtfReader root causing later failures #9

@pfgdrupalas

Description

@pfgdrupalas

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions