Revert "Added support for non-tab 'li' elements."

This reverts commit 8156ef3aa3182c36f7a4387afca1e1fd2599c1d7.