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!