Skip to content

Conversation

hkdeman
Copy link
Contributor

@hkdeman hkdeman commented Jul 23, 2025

Fixes #47

When known MDX components (like <Check>, <Warning>) are missing closing tags, they are now treated as plain text instead of causing build errors.

Changes

  • Added hasMatchingClosingTag() function to detect proper tag pairing
  • Wrap unclosed known component tags in backticks to treat as text
  • Maintains proper JSX parsing for correctly closed tags

Generated with Claude Code

When known MDX components (like <Check>, <Warning>) are missing
closing tags, they are now treated as plain text instead of
causing build errors. Added hasMatchingClosingTag() function
to detect proper tag pairing and wrap unclosed tags in backticks.

Fixes #47

Co-authored-by: H <[email protected]>
Copy link

jazzberry-ai bot commented Jul 23, 2025

An error occured.

This error may be due to rate limits. If this error persists, please email us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - when closing tag missing - don't prevent build error

1 participant