transforming html to haml