Comment 3 for bug 802351

fisharebest (fisharebest) wrote :

The error is that a "<ul>" may only contain "<li></li>"

Here, it contains a mixture of "<li></li>" and " | ".

So, the patch (if I read it correctly), it to replace one menu (containing lots of submenus, separated by pipes) with several menus, (each containing only one submenu), separated by a pipe.

An alternative solution might be to do this with CSS and use something along the lines of:

#whatever li content:before " | "
#whatever li:first content:before "";