Handle lists in man format.
Update code logic for man pages.