Project

General

Profile

Bug #84245

Updated by Frans Saris over 6 years ago

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: 

 <pre> 
 <p>my text</p> 
 </pre> 

 Gets in DB: 

 <pre> 
 [Translate to USA:]<p>mytext</p> 
 </pre> 

 And when you open the RTE you get: 

 <pre> 
 <p>[Translate to USA:]</p> 
 <p>mytext</p> 
 <p>&nbsp;</p> 
 </pre> 

 This is then saved to DB after pushing save 


 Expected in DB before manual save: 

 <pre> 
 <p>[Translate to USA:]</p> 
 <p>mytext</p> 
 </pre> 

 So the first line is wrapped in @<p></p>@. 

Back