Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the no-duplicate-dt rule #1310

Closed
YusukeHirao opened this issue Dec 20, 2023 · 0 comments · Fixed by #1469
Closed

Add the no-duplicate-dt rule #1310

YusukeHirao opened this issue Dec 20, 2023 · 0 comments · Fixed by #1469

Comments

@YusukeHirao
Copy link
Member

Within a single dl element, there should not be more than one dt element for each name.

Cite: 4.4.9 The dl element

👍 Correct

<dl>
  <dt>Apple</dl>
  <dd>lorem...</dd>
  <dd>lorem...</dd>
</dl>

👎 Incorrect

<dl>
  <dt>Apple</dl>
  <dd>lorem...</dd>
  <dt>Apple</dl>
  <dd>lorem...</dd>
</dl>
YusukeHirao pushed a commit to YusukeHirao/markuplint that referenced this issue Feb 12, 2024
YusukeHirao added a commit that referenced this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant