public
Description: Markaby patched to run on rails 2.0.2
Homepage: http://code.whytheluckystiff.net/markaby/
Clone URL: git://github.com/giraffesoft/markaby.git
markaby / CHANGELOG
100644 41 lines (31 sloc) 1.564 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
= SVN
===
 
* 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
 
= 0.5
=== 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. (<tt>div { strong("Real") + " Giraffes" }</tt>)
* The prevailing rule now is: if you want it escaped, pass it as an arg. If not, pass it to a block.
* Again, escaped: <tt>h1("Me & You Have a Giraffe")</tt>
* And, not escaped: <tt>h1 { "<a href='/'>Home</a>" }</tt>
* Less method_missing, meaning: faster calls all around. Tag methods generated based on doctype.
* The <tt>html</tt> method doesn't write the doctype tags and meta tags. You must use <tt>xhtml_transitional</tt> or <tt>xhtml_strict</tt> methods to do that.
* The <tt>img</tt> method doesn't try to inject an empty alt tag and a zero border. No more of that.
 
= 0.3
=== 02nd February, 2006
 
* Allow Markaby::Builder.new without args.
* Rails helper method render_markaby.
 
= 0.2
=== 17th January, 2006
 
* Public announcement.
* DOCTYPES, head tags.
* Works with Rails helpers.
 
= 0.1
=== 05th January, 2006
 
* Initial import.