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