Skip to content

FORM elements processing can fail in browser environment with INPUT fields shadowing node propertiesΒ #508

@pavelhoral

Description

@pavelhoral

The gist of the issue - https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement#issues_with_naming_elements

Due to a problematic HTMLFormElement behavior the child input elements can shadow Node properties that are being used by Turndown. For example the following will break Turndown parsing:

<form><input id=parentNode>

Credits to ixSly for reporting this issue.

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