I am working on a custom template for Joomla but am having a problem with menu items. When a separator is created it has an invalid empty 'span' element
. How can I force the output of this to
This is causing the entire page to break in all versions of IE.
All I am doing is calling the following function: