Show the document body when the link is invalid.

fixes #3362