This version is outdated! Click here to see latest



Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's designed to express the structure of documents in a non-repetitive, elegant, and easy way by using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.

Critical or Security advisories for 4.0.4

This version doesn't have any advisory. Want to report one?

Changelog for 4.0.4

Released on November 5, 2013 (diff).

  • Check for Rails::Railtie rather than Rails (thanks Konstantin Shabanov).
  • Parser fix to allow literal '#' with suppress_eval (Matt Wildig).
  • Helpers#escape_once works on frozen strings (as does ERB::Util.html_escape_once for which it acts as a replacement in Rails (thanks Patrik Metzmacher).
  • Minor test fix (thanks Mircea Moise).

Dependencies for 4.0.4

Name Requirement Status
>= 0

My projects using haml

Name Locked version Requirement
You should be logged in to see which of your projects use haml.