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

Fix #1804: remove <!doctype html> and accept invalid HTML #1851

Merged
merged 2 commits into from
Aug 19, 2020

Commits on Aug 19, 2020

  1. Fix #1804: remove <!doctype html> and accept invalid HTML

    This fixes #1804 in two ways: First, it removes a <!doctype html> from
    the start of the mail, if there is any.
    
    Then, it parses the html itself it quick-xml fails, just stripping
    everything between < and >.
    
    Both of these would have fixed this specific issue.
    
    Also, add tests for both fixes.
    Hocuri committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    4ba8d5a View commit details
    Browse the repository at this point in the history
  2. Fix tests

    Hocuri committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    477c46c View commit details
    Browse the repository at this point in the history