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

Erik Svendsen erik at linnearad.no
Wed Aug 9 11:01:21 CEST 2006


I have a menu with the following code

    20.entryLevel = 2
    20.wrap = <ul id="third">|</ul></div>        
    20.1 = TMENU
    20.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>
	}
    }

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

The TS has following code to get correct HTML output.

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

I suppose there is a simple answer, but I can't figure it out (even after 
searched the list).

Hope somebody has a solution!


WBR,
Erik Svendsen
www.linnearad.no





More information about the TYPO3-english mailing list