HAML标记生成问题

时间:2011-03-23 11:26:41

标签: html haml

我应该如何使用HAML生成此类HTML?

Hello <span class="someclass">John</span>, you are welcome!

1 个答案:

答案 0 :(得分:1)

Hello
= succeed "," do
  %span.someclass John
you are welcome!

您可以使用http://html2haml.heroku.com转换