-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Tests: The column block fixture uses a "columns" closing tag instead of "column" #59145
Comments
I believe this is a simple typo 😅 |
Wow. Should it be failing if it's wrong? 😅 |
Maybe the block parser or something isn't accurate and we might need to look into the root cause. b3c8d51acf17038baeb6af3ac4cba789.mp4 |
Good point. I seem to recall there is some leniency in how closing tags are parsed. Perhaps it being the only block in the markup helps too. |
What is the correct way of solving it? This is still causing me a little bit of trouble because I use the fixtures as examples of the block markup in my block reference plugin, and I have visitors reporting that the code is wrong. I understand this is not what the fixture is intended for, but I would rather not have to implement a one-off solution for this single bug in one fixture. |
This file can be updated, and then the related files re-generated. There's some instructions in the README.md within that folder explaining how those tests can be updated. I'll throw together a quick PR that updates it. |
Description
The column block fixture is closed with
<!-- /wp:columns -->
not<!-- /wp:column -->
Is this intentional?
Step-by-step reproduction instructions
See the linked file above
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: