preserve whitespace in showDoc