Permalink
Browse files

* CHANGELOG: correct string escaping usage

 * README: fix typos
  • Loading branch information...
tim committed Oct 9, 2006
1 parent 7f73c14 commit fea7766fe45f64319a6e45f5cfdaff7a65641bc6
Showing with 3 additions and 3 deletions.
  1. +1 −1 CHANGELOG
  2. +2 −2 README
View
@@ -5,7 +5,7 @@
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 to a block. If not, pass it as an arg.
+* 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.
View
4 README
@@ -69,7 +69,7 @@ that inside these blocks, <tt>self</tt> will be your Markaby::Builder object.
When you use instance variables in these blocks, they will be instance variables
of the Markaby::Builder object.
-This doesn't effect Rails users, but when used in regular Ruby code, it can
+This doesn't affect Rails users, but when used in regular Ruby code, it can
be a bit disorienting. You are recommended to put your Markaby code in a
module where it won't mix with anything.
@@ -231,7 +231,7 @@ If for any reason you have trouble with fragments, you can just
call the <tt>@helpers</tt> object with the method and you'll get
the String back and nothing will be output.
- p { "Total is: #{@helper.number_to_human_size @file_bytes}" }
+ p { "Total is: #{@helpers.number_to_human_size @file_bytes}" }
Conversely, you may call instance variables from your controller by using
a method and its value will be returned, nothing will be output.

0 comments on commit fea7766

Please sign in to comment.