Project

General

Profile

Actions

Bug #91434

closed

Class name “downloads” in Layout HTML file prepended with slash

Added by Hagen Gebauer almost 4 years ago. Updated almost 4 years ago.

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

100%

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

Description

In my Layouts/Main-Layout.html Fluid template I have hard-coded the link to a Downloads page:

<li class="downloads"><f:link.page pageUid="85"><span><f:translate key="LLL:fileadmin/pages/language/locallang.xlf:metaNav.downloads" /></span></f:link.page></li>

The class name of <li> is now being prepended with a slash in the compiled HTML file:
<li class="/downloads">

I can’t say when this started, I guess it might have been the update to T3v9.5.16

When changing the class name to download or download-link or downloadsss the same thing happens. When changing it to link-download instead, it will not be prepended. So I reckon that download is some sort of keyword that will be handled as page name or something.

I don’t believe this to have any relevance but as you can see in the <f:translate> above, this website is not yet built on a Site Package Extension.

Actions

Also available in: Atom PDF