fixed deep recursion warnings in Mojo::DOM and Mojo::DOM::HTML