WP Disable links with an Empty href

After much searching and fiddling I finally found a solution to this problem… Basically I have a site where some top level items in the main menu are purely for categorization; they don’t have actual pages to link to. So how do we prevent them from...