web2py/web2py — pull request #55 by jbohren (2013-01-22 03:29:30+00:00)
Title: Make the menu html serializer pass LI items through as-is (allows for separators)

When using the menu model, it can be useful to put dividers into the menu. This is most easily done by passing an `LI` object into the menu arguments, but the menu serializer always assumes tuples describing clickable menu items. This fix passes through `LI` objects as-is if they exist in the menu.