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