#50566Menu-links generate two empty spaces before closing angle bracket in source code
Description
Enviroment:
TYPO3 CMS 6.1.2
php 5.4.10
MAMP 2
Mac OS X 10.7.5
1. Fluid Template:
or
2. TypoScript:
lib.MENU_MAIN = HMENU
lib.MENU_MAIN {
extAll = 0
wrap =
- |
1 = TMENU
1 {
NO = 1
NO {
wrapItemAndSub =
ATagTitle.field = title
}
ACT < .NO
ACT.wrapItemAndSub =
}
} The generated source code looks like this:
Rene-Ralf Schröder mentions that:
- this is also the case on the TYPO3 demo site:
http://introduction.typo3cms.demo.typo3.org/
- this does not happen on older 4.7 versions
- the 2 spaces are placed between title tag and class parameters, if there are any; in that case there are no gaps before the closing angle bracket.
Thanks to Rene-Ralf Schröder and Chris Wolff!
To my knowledge this kind of source code formatting will not be valid for A+++ (Government Package?), but I might be wrong here…