convert HTML to HamlPy (in progress)