Bug #84245
openl10n_mode = prefixLangTitle results in extra empty paragraphs for RTE enabled fields
0%
Description
For tt_content.bodytext
the TCA
l10n_mode
is set to 'prefixLangTitle'
.
This results in a string being pre-pended to the field value. And because this string isn't wrapped in <p></p>
or other tag the rendering switches back to the old behavior and adds a extra `<p>&nbps;</p>` to the end of the content.
So:
<p>my text</p>
Gets in DB:
[Translate to USA:]<p>mytext</p>
And when you open the RTE you get:
<p>[Translate to USA:]</p> <p>mytext</p> <p> </p>
This is then saved to DB after pushing save
Expected in DB before manual save:
<p>[Translate to USA:]</p> <p>mytext</p>
So the first line is wrapped in <p></p>
.
Updated by Frans Saris almost 7 years ago
- Category changed from DataHandler aka TCEmain to RTE (rtehtmlarea + ckeditor)
Updated by Tymoteusz Motylewski almost 7 years ago
so what is the expected state?
Updated by Frans Saris almost 7 years ago
- Description updated (diff)
Updated description with expected result.
Updated by Ursula Klinger over 6 years ago
I cannot reproduce it with CKE-Editor and TYPO3 9
Updated by Benni Mack almost 6 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
Updated by Susanne Moog about 5 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Benni Mack 2 months ago
- Related to Bug #88479: <p>nbsp</p> in translated CE added
Updated by Gerrit Code Review 2 months ago
- Status changed from New to Under Review
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87462
Updated by Gerrit Code Review about 2 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87462
Updated by Gerrit Code Review about 2 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87462