[TYPO3] <br /> in TMENU renders as <br> in output.

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Wed Aug 9 13:44:49 CEST 2006


Erik Svendsen wrote:

> 
> The menu is okay except for the <br /> who renders as <br> in the output.

hi Erik

To test your code I did:

config {
     xmlprologue = none
     doctype = xhtml_trans
     xhtml_cleaning = all
     htmlTag_langKey = no
}


temp.510 = HMENU
temp.510 {
    entryLevel = 0
    wrap = <ul id="third">|</ul></div>
    1 = TMENU
    1.NO {
     stdWrap.cObject = COA
     stdWrap.cObject {
         10 = TEXT
         10.field = title
         10.wrap = <li>|
         20 = TEXT
         20.field = subtitle
         20.required = 1
         20.wrap = <br /><span class="something">|</span></li>
         }
     }
}


and everything is ok - <br /> is <br /> in the source.

Testing env: TYPO3 4.0

Maybe you use some special xhtml cleaning extensions?


--
Krystian




More information about the TYPO3-english mailing list