Fix for whitespace at the end of a doc.