Don't display a variable description for empty comments.
This commit is contained in:
parent
8734dbe542
commit
fd0446fff7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user