We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given this code block:
<!-- wp:code {"highlightedLines":"2","showLineNumbers":true} --> <pre class="wp-block-code"><code>if ( true && false && 1 < 0 && 0 > 1 ) { // Unreachable <code>! }</code></pre> <!-- /wp:code -->
In WordPress 5.5 when Gutenberg is not active, this renders in the editor successfully:
However, when Gutenberg v9.1.1 is active, block validation errors occur:
Block validation: Expected text `if ( true && false && 1 < 0 && 0 > 1 ) { // Unreachable <code>! }`, saw `if ( true && false && 1 < 0 && 0 > 1 ) { // Unreachable <code>! }`
This did not happen in Gutenberg v9.0.0. It starts to break as of v9.1.0.
The text was updated successfully, but these errors were encountered:
Looks like this issue was introduced with WordPress/gutenberg#24689.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Given this code block:
In WordPress 5.5 when Gutenberg is not active, this renders in the editor successfully:
However, when Gutenberg v9.1.1 is active, block validation errors occur:
This did not happen in Gutenberg v9.0.0. It starts to break as of v9.1.0.
The text was updated successfully, but these errors were encountered: