Skip to content

HtmlParser non-strict goes wrong with unquoted attributes #56217

@svilend

Description

@svilend
mannequin
BPO 12008
Nosy @ezio-melotti, @merwok, @bitdancer
Files
  • html.parser.diff: patch to limit nonstruct regexp's span
  • test-htmlparser-attrs.py: standalone test
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ezio-melotti'
    closed_at = <Date 2011-11-01.12:46:40.385>
    created_at = <Date 2011-05-05.10:47:27.403>
    labels = ['type-bug', 'library']
    title = 'HtmlParser non-strict goes wrong with unquoted attributes'
    updated_at = <Date 2011-11-01.12:46:40.351>
    user = 'https://bugs.python.org/svilend'

    bugs.python.org fields:

    activity = <Date 2011-11-01.12:46:40.351>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2011-11-01.12:46:40.385>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2011-05-05.10:47:27.403>
    creator = 'svilend'
    dependencies = []
    files = ['21893', '21894']
    hgrepos = []
    issue_num = 12008
    keywords = ['patch']
    message_count = 5.0
    messages = ['135182', '135183', '143472', '146772', '146773']
    nosy_count = 6.0
    nosy_names = ['ezio.melotti', 'eric.araujo', 'r.david.murray', 'pietvo', 'python-dev', 'svilend']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12008'
    versions = ['Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions