Don't display a variable description for empty comments.

This commit is contained in:
Chris Eppstein 2010-04-25 22:40:07 -07:00
parent 8734dbe542
commit fd0446fff7

View File

@ -6,6 +6,6 @@
%dt Value %dt Value
%dd %dd
%code= constant_def.expr.to_sass(:format => :html) %code= constant_def.expr.to_sass(:format => :html)
- if constant_def.comment - if constant_def.comment && constant_def.comment.strip.size > 0
%dt Description %dt Description
%dd= format_doc constant_def.comment %dd= format_doc constant_def.comment