rustdoc_to_markdown: Add helper methods for checking HTML attributes (#12496)
This PR adds some helper methods to `HtmlElement` to make it easier to
interact with the element's attributes.
This cleans up a bunch of the code by a fair amount.
Release Notes:
- N/A
4dc98026c4Marshall Bowers committed on 5/30/2024, 6:15:08 PM· committed by GitHubparentc83d1c2