#76455TypoScript TMEMUITEM before and after only work for NO
Description
Consider the following TS
lib.nav = HMENU
lib.nav {
special = directory
special.value = 1
1 = TMENU
1 {
expAll = 1
wrap = <ul>|</ul>
NO = 1
NO {
wrapItemAndSub = <li>|</li>
before = NONONONONONO
}
ACT < NO
ACT {
wrapItemAndSub = <li class="active"> | </li>
before = ACTACTACTACTACT
}
IFSUB < NO
IFSUB {
wrapItemAndSub = <li class="ifsub" >|</li>
before = IFSUBIFSUBIFSUB
}
ACTIFSUB < IFSUB
ACTIFSUB {
wrapItemAndSub = <li class ="ifsub active">|</li>
before = ACTIFSUBACTIFSUB
}
}
2 < .1
3 < .2
}
The expected result is, the the prepended string changes depending on the item state. However, only NONONONONONO is ever generated.
Verified this on 6.2, 7.6 and master.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.