# rustdoc_to_markdown: Add helper methods for checking HTML attributes \(\#12496\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4dc98026c4bf45fe01f917ff674e7406de9eae77)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4dc98026c4bf45fe01f917ff674e7406de9eae77

Requested commit: 4dc98026c4bf45fe01f917ff674e7406de9eae77

Commit: 4dc98026c4bf45fe01f917ff674e7406de9eae77

Tree: 55f3eaa58bd8317f08130308d99ebf16f666de0a

Author: Marshall Bowers

Committer: GitHub

## Message

```
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
```

## Parents

- [c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1](https://git.cafe/gitcafe/zed/commit/c83d1c23d7efe7d21ea1d0b53cc57d596bd249b1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4dc98026c4bf45fe01f917ff674e7406de9eae77?format=markdown)
