fix nav tag not being added to the navigation
properly escape code content, and generate new tests