Open
Description
Describe the bug
If there is invalid markup such as a missing "
in the Classic editor, when activating the Gutenberg plugin or updating to RC1, the result is that content after that error is removed from the post.
To Reproduce
Steps to reproduce the behavior:
- Create a post containing invalid HTML in the Classic Editor text tab. See example below.
- Activate Gutenberg 4.5.1 or WordPress 5.0 RC1
- Return to the post edit screen.
- Only the first paragraph of content is visible even in code editor.
<p>This is an example of a WordPress post.</p>
<p class="intro>This is an example of a WordPress post.</p>
<p>This is an example of a WordPress post.</p>
Expected behavior
All content will be visible so you can correct the error. As of now, it seems to simply delete everything after the invalid portion.
Desktop
OS: Windows/OSX
Browser: Chrome/FF
Version: Latest
Additional context
Gutenberg 4.5.1 or WordPress 5.0 RC1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Affects the Classic Editor BlockAffects the Classic Editor BlockInternally: "raw handler"Internally: "raw handler"Related to efforts to improving the parsing of a string of data and converting it into a different fRelated to efforts to improving the parsing of a string of data and converting it into a different fUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterAn existing feature does not function as intendedAn existing feature does not function as intended