I'm looking for a reliable way to convert a HAML template to an equivalent ERB/HTML template?
Has anyone come across one?
I'm looking for a reliable way to convert a HAML template to an equivalent ERB/HTML template?
Has anyone come across one?
Apparently there's some challenging issues with translating HAML to ERB, as HAML supports some niceties that don't easily translate back to ERB without parsing the Ruby code. A naive implementation using the HAML engine is here:
have you try W2tags, you can even test it live in: w2tags.heroku.com