Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue while parsing valid <meta> tags #586

Open
@ikus060

Description

@ikus060

I'm running into issue with HTML parsing of the following HTML.

parser = html5lib.HTMLParser(strict=True)parser.parse('<!DOCTYPE html><html lang="en"><head><title>test</title><meta http-equiv="refresh" content="1; url=http://127.0.0.1:54583/restore/admin/testcases/%3CF%21ch%C3%AFer%3E%20%28%40vec%29%20%7Bc%C3%A0ra%C3%A7t%23%C3%A8r%C3%AB%7D%20%24%C3%A9p%C3%AAcial?date=1454448640&raw=1" ></head><body>COUCOU</body></html>')

I get this exception.

html5lib.html5parser.ParseError: Named entity expected. Got none.

According to w3c validator. This is valid.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp