Don't send the wrap tag a class attribute if it's blank

It was creating wrap tag elements like `<li class="">` for inactive links. Test is included and passes.