[TYPO3] New Lines in HTML

Ron Hall rhall at irvingbible.org
Sat May 20 00:06:42 CEST 2006


I have a menu that looks like this in typoscript.

// SETUP OF GLOBAL MENU
    gn.menuCode = HMENU
    gn.menuCode.entryLevel = 0
    gn.menuCode.1 = TMENU
    gn.menuCode.1 {
        // Normal Properties Level 1
            NO.allWrap = <li> | </li>
        // Active state properties  Level 1
            ACT = 1
            ACT.allWrap = <li class="active"> | </li>
        // Current state properties  Level 1
            CUR = 1
            CUR.allWrap = <li class="current"> | </li>
            }

Currently when it generates the HTML source it puts the entire menu in one
line which makes it difficult to read the source code. How can I get it to
put a new line after each </li> tag so that the HTML source is easier to
read and evalute?

Thanks,
Ron




More information about the TYPO3-english mailing list