File rubygem-markaby.changes of Package rubygem-markaby
-------------------------------------------------------------------
Tue May 22 18:54:57 CEST 2007 - mrueckert@suse.de
- spec file cleanup
-------------------------------------------------------------------
Sun Oct 15 06:58:54 CEST 2006 - mrueckert@suse.de
- upgrade to version 0.5:
o 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!
o 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" })
o The prevailing rule now is: if you want it escaped, pass it to
a block. If not, pass it as an arg.
o Again, escaped: h1("Me & You Have a Giraffe")
o And, not escaped: h1 { "<a href='/'>Home</a>" }
o Less method_missing, meaning: faster calls all around.
Tag methods generated based on doctype.
o The html method doesn't write the doctype tags and meta
tags. You must use xhtml_transitional or xhtml_strict methods
to do that
o The img method doesn't try to inject an empty alt tag and a
zero border. No more of that.