8000 Implement `html-no-block-inside-inline` linter rule by marcoroth · Pull Request #199 · marcoroth/herb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement html-no-block-inside-inline linter rule #199

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

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

marcoroth
Copy link
Owner
@marcoroth marcoroth commented Jun 30, 2025

Implements a new linter rule to prevent block-level elements from being placed inside inline elements, which violates HTML content model rules.

Example:

<span>
  <div></div>
</span>

Closes #164

@marcoroth marcoroth merged commit 59a2bf9 into main Jun 30, 2025
14 checks passed
@marcoroth marcoroth deleted the add-html-no-block-inside-inline-rule branch June 30, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter Rule: No block elements inside inline elements
1 participant
0