Do not emit trailing white-space for empty javadoc lines.

This occurs when multiple newlines are present. While the HTML-rendered Javadoc will collapse these, we preserve them for the sake of continuity with input.

@swankjesse @danrice-square