Project

General

Profile

Bug #81202

Updated by Simon Schaufelberger over 7 years ago

Since config.prefixLocalAnchors was removed from the core with #65934 and outsourced into compatibility6 extension, all linkToTops are not working any more if realurl is used. 

 Testcase: 
 <pre> 
 config { 
   prefixLocalAnchors = all 
   baseURL = http://www.example.com http://www.mantoco.de 
 } 

 page = PAGE 
 page { 
   1 < styles.content.get 
 } 
 </pre> 

 Add a new content element and check the checkbox "Append with Link to Top of Page" in Access tab. 

 This is the broken typoscript setup in css_styled_content: 

 https://git.typo3.org/Packages/TYPO3.CMS.git/blob/9219e4fa9af5e4bd2ea1f208056cb396667cce45:/typo3/sysext/css_styled_content/static/setup.txt#l537 

 Expected: 
 <pre> 
 <a href="/path/to/page.html#">Link to top</a> 
 </pre> 

 Actual Output: 
 <pre> 
 <a href="#">Link to top</a> 
 </pre> 

 with a baseurl set links to the root page.

Back