Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML start tags with extra space not handled correctly #13

Closed
fadeyev opened this issue Sep 29, 2019 · 1 comment
Closed

HTML start tags with extra space not handled correctly #13

fadeyev opened this issue Sep 29, 2019 · 1 comment
Milestone

Comments

@fadeyev
Copy link

fadeyev commented Sep 29, 2019

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

@bbottema bbottema added this to the 1.2.2 milestone Sep 29, 2019
@bbottema bbottema changed the title HTML_START_TAGS contain extra space HTML start tags with extra space not handled correctly Oct 4, 2019
@bbottema
Copy link
Owner

bbottema commented Oct 4, 2019

Released v1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants