You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user reports that some of their Gutenberg posts are missing spaces on the reader. After some debugging, I noticed the HTML source had something like this:
<p>1
Corinthians 13:12- For now we see only a reflection as in a mirror; then we
shall see face to face. Now I know in
part; then I shall know fully, even as I am fully known. </p>
There's a \n at the end of each line, that normal web rendering would present as a single space, but the native reader seems to be stripping
It hasn’t been labeled [Pri] Blocker, [Pri] High, or good first issue.
Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).
Activity
koke commentedon Feb 19, 2019
We seem to be simply removing any new line outside a
<pre>tag from post content.I tried replacing
\n+with a space, but it's a bit more complicated than that.According to the specs (HTML, CSS), the rules for normal whitespace rendering (outside
<pre>) should be:designsimply commentedon Feb 20, 2019
Possibly related: WordPress/gutenberg#12166
stale commentedon Mar 11, 2020
This issue has been marked as stale because:
[Pri] Blocker,[Pri] High, orgood first issue.Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority (cc @designsimply).
leandroalonso commentedon Mar 24, 2021
Reader Detail now uses a webview, which shouldn't cause this issue.