Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: v0.6.1
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (34 sloc) 1.69 KB


23 August, 2009

  • Canonical repo changed to

  • Gem moved to Github (using jeweler)

  • Rails init process changed to work with rails > 2.1

  • Default attributes on the root (<html>) element can now be overidden

  • Reworked CssProxy, allowing attributes on hr and br

  • Added Kernel#mab convenience method (require 'markaby/kernel_method')

  • WhenOnRails: Can now use :locals with render_markaby

  • WhenOnRails: Template errors now report line number


03 October, 2006

  • XHTML Validation built in. So, if you have an invalid tag: error. Invalid attribute: error. And two identical IDs in the same document: error. Optional, of course. But handy!

  • New Markaby::Fragment class adds much flexibility. If it discovers you are using a tag as a string, the tag is removed from the stream. (div { strong("Real") + " Giraffes" })

  • The prevailing rule now is: if you want it escaped, pass it as an arg. If not, pass it to a block.

  • Again, escaped: h1("Me & You Have a Giraffe")

  • And, not escaped: h1 { "<a href='/'>Home</a>" }

  • Less method_missing, meaning: faster calls all around. Tag methods generated based on doctype.

  • The html method doesn't write the doctype tags and meta tags. You must use xhtml_transitional or xhtml_strict methods to do that.

  • The img method doesn't try to inject an empty alt tag and a zero border. No more of that.


02nd February, 2006

  • Allow without args.

  • Rails helper method render_markaby.


17th January, 2006

  • Public announcement.

  • DOCTYPES, head tags.

  • Works with Rails helpers.


05th January, 2006

  • Initial import.

Jump to Line
Something went wrong with that request. Please try again.