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

fix: prevents div elements from being self-closing tags #54

Merged

Conversation

DaleWebb
Copy link
Contributor

@DaleWebb DaleWebb commented May 1, 2022

When outputting in Tailwind and HTML without JSX, div elements representing
space in auto-layout are self-closing. This will incorrectly place sibling
HTML elements as children of the self-closing div in the Chrome browser.

Fixes #31

When outputting in Tailwind and HTML without JSX, div elements representing
space in auto-layout are self-closing. This will incorrectly place sibling
HTML elements as children of the self-closing div in the Chrome browser.

Fixes bernaferrari#31
@bernaferrari bernaferrari merged commit 83b3381 into bernaferrari:master May 2, 2022
@bernaferrari
Copy link
Owner

Thanks!

@DaleWebb DaleWebb deleted the fix/do-not-self-close-div branch May 6, 2022 21:39
bernaferrari pushed a commit that referenced this pull request Jul 9, 2023
* fix: prevents `div` elements from being self-closing tags

When outputting in Tailwind and HTML without JSX, div elements representing
space in auto-layout are self-closing. This will incorrectly place sibling
HTML elements as children of the self-closing div in the Chrome browser.

Fixes #31

* fix: remove orphan quotation mark and space from spacing `div`
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.

Change div closing syntax
2 participants