Skip to content

Commit

Permalink
Merge pull request nadarei#2 from ShareWis/hotfix/return_class_name_c…
Browse files Browse the repository at this point in the history
…orrectly

クラス名が正しく出力されない問題を修正
  • Loading branch information
akira-hamada committed Feb 1, 2014
2 parents bcf315d + dc64356 commit 9a314eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/styleguides/_block.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- modifiers.each do |modifier|
.sg-modifier.sg-canvas{class: canvas_class}
%span.sg-modifier-name= modifier.name
%div{style: inner_style}= capture modifier.name, &code_block
%div{style: inner_style}= html.sub('$modifier_class', " #{modifier.class_name}").html_safe

.sg-html
%pre.prettyprint.lang-html!= h(html.gsub('', ''))
Expand Down

0 comments on commit 9a314eb

Please sign in to comment.