Skip to content

Incorrect output for HtmlNode::outerHtml() after updating attributes #100

@mallardduck

Description

@mallardduck

If you were to update an elements attributes and then call outerHtml() to get the new element you would expect to see the updated attributes in the DOM element provided. This is not the case, you are provided the original HTML for the element.

I'm fairly positive this is the same issue as #99 though it's coming up under different circumstances so I wanted to report this as it's own issue. I'll toy with a fix and see if I can submit a PR!

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