Bug #89585
closed
deleted space between 2 tags
Added by Raoul STANISLAS about 5 years ago.
Updated about 5 years ago.
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.
- Description updated (diff)
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?
- Status changed from New to Needs Feedback
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.
- 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.
Also available in: Atom
PDF