Patch 1

inserting the "span" element to wrap the text of the "li" element when it does not have any link, so css styling is possible and easier