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
Gutenberg produce BROKEN html output #12953
Comments
How to reproduce: Put h2 block with text: Next, add paragraph block above h2 block with text: |
Aha! Thank you for the extra information, I was just about to ask about how this content was first created and to clarify about the screenshots. I was trying to see in the first screenshots and I noticed this: became this: And I saw the the ending However, trying with the example text you provided is much better and I will add the Can you tell also tell me a little more took to get to this point? Did you write it with Gutenberg directly? Did you write it before upgrading to 5.0.1 and then press the "Convert to Blocks" button? Or did you copy the content from elsewhere such as a word processor or a different post or even another web page? |
I am not sure yet if it's relevant, but may I also ask if you have any plugins installed which modify content in any way? It's possible to have a plugin conflict, and we should test from our side first without plugins but it's also a good idea to make a note of them if you have any. |
I'm writing in with Gutenberg directly, without content conversion from classic editor into blocks. Just copy-pasting text from Notepad-like text editor. |
I disabled all plugins and it not helped. In general i'm using WPML and Yoast SEO now. |
I found that if Gutenberg doesn't produce HTML comments like then seems it works fine. HTML comments in some ways broke text output. |
This issue related with #13404 |
Thank you so much for the follow-ups! I researched this and found that #13404 was closed as a duplicate of #12672 and there is a request in that issue to re-open the case at https://core.trac.wordpress.org/ and I wanted to leave a note here with the status that I found. |
Tracked this down to an issue with |
How text looks in gutenberg editor:
https://i.imgur.com/ppbPMg7.png
How output result looks:
https://i.imgur.com/YO3NGYT.png
Part of the text are gone
closing "strong" tag also is gone, producing WRONG html markup
Please fix it.
Wordpress 5.0.1
The text was updated successfully, but these errors were encountered: