added escape for ' to the nav display links, too