HAMLでこれを達成する方法はありますか?
<h1>Lorem ip<span class="red">sum</span><span class="subtitle">dolor</span></h1>
このオンライン ツール コンバーター ( http://html2haml.heroku.com/ )を使用しました。
%h1
Lorem ip
%span.red sum
%span.subtitle dolor
これを HTML でレンダリングします。
<h1>
Lorem ip
<span class='red'>sum</span>
<span class='subtitle'>dolor</span>
</h1>
ipとsumの間の空白を削除しようとしていますが、達成できません。