Skip to content

HTML start tags with extra space not handled correctly #13

Closed
@fadeyev

Description

@fadeyev

SimpleRTF2HTMLConverter.HTML_START_TAGS are:
private static final String[] HTML_START_TAGS = { "<html ", "<Html ", "<HTML " };
and should be
private static final String[] HTML_START_TAGS = { "<html", "<Html", "<HTML" };

Because of this fetchHtmlSection() method add extra <html> tags for some emails which have simple opening html tag without any attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions