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

permitted-contents rule supports conditional child nodes #1630

Conversation

YusukeHirao
Copy link
Member

Rel: #490

<ul>
  {#each items as item}
    <span>{item}</span>
  {/each}
  <li>default item</li>
</ul>

It warns: The "span" element is not allowed in the "ul" element in this context

@YusukeHirao YusukeHirao self-assigned this May 2, 2024
@YusukeHirao YusukeHirao merged commit 0c0c28d into markuplint:dev May 2, 2024
31 checks passed
@YusukeHirao YusukeHirao deleted the features/conditional-children-permitted-contents branch May 2, 2024 08:47
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.

None yet

1 participant