Steffen Kamper wrote: > Solution: > patch does it, only writes optgroup if item follows. > Additionally i added "\n" so HTML is easy to read committed after reading and testing Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2