Bug #86819

Since 8.7.20 (#83795) all <p>&nbsp;</p> are converted to <p></p>

Added by Christian Hernmarck about 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2018-11-01
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
frontendrendering "p with space"
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

With the update to 8.7.20 the " " in an <p></p> were removed witch the result that many empty but needed lines/spaces were removed in the frontend.

With 8.7.19:

<p>Zahnarzt XYZ<br />Strasse 123<br />1234 Ort</p><p>&nbsp;</p><p>Während der Praxis-Öffnungszeiten</p>

With 8.7.20:

<p>Zahnarzt XYZ<br />Strasse 123<br />1234 Ort</p><p></p><p>Während der Praxis-Öffnungszeiten</p>

Since a

<p></p>
is not visible in the browser (at least with browser default css) and a
<p>&nbsp;</p>
is - many website have a different look with the new version.

As a temporary solution you can include this line in the TypoScript setup in the website

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.innerStdWrap_all.ifBlank = &nbsp;

or readd line 109 in typo3/sysext/fluid_styled_content/Configuration/TypoScript/Helper/ParseFunc.typoscript

see: https://github.com/TYPO3/TYPO3.CMS/commit/c23b1e1970d44cb3fc836db697650be568788218

I think the Issue #83795 has to be resolved in another way.

TYPO3 v9 not testet...


Related issues

Related to TYPO3 Core - Bug #83795: &nbsp; in the tables with <ol> or <ul> Accepted 2018-02-07

Associated revisions

Revision ce16a8de (diff)
Added by Benni Mack 12 months ago

[BUGFIX] Revert bugfix Remove surrounding &nsbp; in the tables with ol or ul in CKEditor

This reverts commit c23b1e1970d44cb3fc836db697650be568788218
as now frontend rendering is different from 8.7.19 and 8.7.20.

Change-Id: Ia640ed3eda1619b0a34b5cd6afd07a665e372792
Resolves: #86819
Reverts: #83795
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/59137
Reviewed-by: Oliver Hader <>
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision 0e111ccd (diff)
Added by Benni Mack 12 months ago

[BUGFIX] Revert bugfix Remove surrounding &nsbp; in the tables with ol or ul in CKEditor

This reverts commit c23b1e1970d44cb3fc836db697650be568788218
as now frontend rendering is different from 8.7.19 and 8.7.20.

Resolves: #86819
Reverts: #83795
Releases: master, 8.7
Change-Id: Ifd264779f2d0a678781fcf5761a81982023f3056
Reviewed-on: https://review.typo3.org/59138
Reviewed-by: Mathias Brodala <>
Tested-by: Mathias Brodala <>
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Christian Hernmarck about 1 year ago

  • Related to Bug #83795: &nbsp; in the tables with <ol> or <ul> added

#2 Updated by Oliver Hader about 1 year ago

  • Description updated (diff)

#3 Updated by Gerrit Code Review 12 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59137

#4 Updated by Gerrit Code Review 12 months ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59138

#5 Updated by Benni Mack 12 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF