Hello, just wanted to confirm the fix has resolved the issue. Thank you!
Another scenario where it can overwrite an unrelated attribute $html = str_get_html('<div id="test" duplicate="1" tag="original" duplicate=tag></div>'); print_r($html->find("#test")[0]->getAllAttributes()); Array ( [id] => test [duplicate] => 1 [tag] => 1 // should be "original" )
Edit: I am using latest version 1.8.1
Bug with duplicate attribute