I want to print HAML at same line
%ul
- @categories.each do |c|
%li= c.name
(#{c.posts.count})
and I recive
<ul>
<li>vim</li>
(3)
<li>bash</li>
(1)
</ul>
How to get
<ul>
<li>vim(3)<li>
<li>bash(1)</li>
</ul>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…