Project

General

Profile

Actions

Bug #89585

closed

deleted space between 2 tags

Added by Raoul STANISLAS over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-11-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

With TYPO3 8.7 and 9.5, FE rendering removes the space between 2 tags.

Source code in CKEditor Rich Text Editor
<a href="t3://page?uid=1">Text</a> <span class="important">Text</span>
<strong>Text</strong> <span class="important">Text</span>

source code of the frontend
<a href="t3://page?uid=1">Text</a><span class="important">Text</span>
<strong>Text</strong><span class="important">Text</span>

"Fluid Content Elements CSS" or "Bootstrap Package", i have the same rendering

Also CType HTML, FE rendering removes the space between 2 tags.

Actions #1

Updated by Raoul STANISLAS over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Riccardo De Contardi over 4 years ago

Are you using the default Fluid Styled Content Layout?

The file /typo3/sysext/fluid_styled_content/Resources/Private/Layouts/Default.html contains the <f:spaceless> viewhelper which removes the spaces.

Could you try to remove it?

Actions #3

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from New to Needs Feedback
Actions #4

Updated by Raoul STANISLAS over 4 years ago

Riccardo De Contardi wrote:

Are you using the default Fluid Styled Content Layout?

The file /typo3/sysext/fluid_styled_content/Resources/Private/Layouts/Default.html contains the <f:spaceless> viewhelper which removes the spaces.

Could you try to remove it?

yes, in my last test I used the default Fluid Styled Content Layout.
But I encountered the problem with Bootstrap Package 11.

Thanks, I removed <f:spaceless>.
It's good now.

Actions #5

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (Candidate for Major Version)

I close this issue since this is the intended behavior.

The <f:spaceless> viewhelper has been removed from the layout file on TYPO3 version 10 with https://review.typo3.org/c/Packages/TYPO3.CMS/+/58858; for previous TYPO3 versions, please override the layout with TypoScript.

Actions

Also available in: Atom PDF