Commit 5858f567 authored by Brian Long's avatar Brian Long
Browse files

better detect empty body

parent d24aa54e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ class MarkdownWriter {
	private void buildDocumentation(DocCommentTree commentTree, JavadocDocumentable docuable) {
		if (commentTree.getFirstSentence() != null)
			docuable.setDocFirstSentence(this.sanitize(commentTree.getFirstSentence()));
		if (commentTree.getBody() != null)
		if (commentTree.getFullBody() != null && !commentTree.getFullBody().isEmpty())
			docuable.setDocBody(this.sanitize(commentTree.getFullBody()));
	}