Bug #86819

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

Added by Christian Hernmarck about 3 years ago. Updated over 2 years ago.

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

100%

Estimated time:
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>Closed2018-02-07

Actions
#1

Updated by Christian Hernmarck about 3 years ago

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

Updated by Oliver Hader about 3 years ago

  • Description updated (diff)
#3

Updated by Gerrit Code Review almost 3 years 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 almost 3 years 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 almost 3 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF