Skip to content

single value properties on iframes causes attributes property on JSON object to be incorrect #14

@felipeballesteros

Description

@felipeballesteros

For example:

<iframe allowfullscreen frameborder="0" width="698" height="573" scrolling="no" id="someid" title="MailOnline Embed Player" src="http://google.com"></iframe>

has a single value property allowfullscreen (no key/value pair) which causes the JSON to output the following properties:

"0":"width"
"573":"scrolling"
"698":"height"
"MailOnline Embed Player":"src"
"molvideoplayer":"title"
"no":"id"
allowfullscreen:"frameborder"

which of course is incorrect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions