Optimize to prevent hrefs on li tags, etc.