From fd0446fff718e565389f274260e2aaaa92464ab5 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 25 Apr 2010 22:40:07 -0700 Subject: [PATCH] Don't display a variable description for empty comments. --- doc-src/layouts/partials/reference/const_table.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc-src/layouts/partials/reference/const_table.haml b/doc-src/layouts/partials/reference/const_table.haml index dc4f299c..44d5d12c 100644 --- a/doc-src/layouts/partials/reference/const_table.haml +++ b/doc-src/layouts/partials/reference/const_table.haml @@ -6,6 +6,6 @@ %dt Value %dd %code= constant_def.expr.to_sass(:format => :html) - - if constant_def.comment + - if constant_def.comment && constant_def.comment.strip.size > 0 %dt Description %dd= format_doc constant_def.comment