EDIT: html2haml does work as advertised, however you must use version obtained from the current master branch of the haml github repoistory.
The version of html2haml included with the haml gem currently available from rubygems is no good. This is the version you will get if you were to do gem install haml right now. Using the version supplied with the gem will result in invalid haml, as it cannot process ruby properly.