aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-04-06 12:19:17 +0200
committerJaime Iniesta <jaimeiniesta@gmail.com>2010-04-06 12:19:17 +0200
commit852e26ab89aca117b7d6459202fc7ce288b6e770 (patch)
tree4c85ddc16615b8b332cad6d8401de83fd611ee0e /railties/guides
parent6be0fa6a066f825c41ad826aae19c58cc90ab0f8 (diff)
downloadrails-852e26ab89aca117b7d6459202fc7ce288b6e770.tar.gz
rails-852e26ab89aca117b7d6459202fc7ce288b6e770.tar.bz2
rails-852e26ab89aca117b7d6459202fc7ce288b6e770.zip
Fix 3_0_release_notes so it valides XHTML 1.0 Strict
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/3_0_release_notes.textile8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/3_0_release_notes.textile b/railties/guides/source/3_0_release_notes.textile
index 804ff2a96c..86d72db125 100644
--- a/railties/guides/source/3_0_release_notes.textile
+++ b/railties/guides/source/3_0_release_notes.textile
@@ -306,7 +306,7 @@ h5. Unobtrusive JavaScript
Major re-write was done in the Action View helpers, implementing Unobtrusive JavaScript (UJS) hooks and removing the old inline AJAX commands. This enables Rails to use any compliant UJS driver to implement the UJS hooks in the helpers.
-What this means is that all previous <tt>remote_<method></tt> helpers have been removed from Rails core and put into the "Prototype Legacy Helper":http://github.com/rails/prototype_legacy_helper. To get UJS hooks into your HTML, you now pass <tt>:remote => true</tt> instead. For example:
+What this means is that all previous <tt>remote_&lt;method&gt;</tt> helpers have been removed from Rails core and put into the "Prototype Legacy Helper":http://github.com/rails/prototype_legacy_helper. To get UJS hooks into your HTML, you now pass <tt>:remote => true</tt> instead. For example:
<ruby>
form_for @post, :remote => true
@@ -320,17 +320,17 @@ Produces:
h5. Helpers with Blocks
-Helpers like +form_for+ or +div_for+ that insert content from a block use +<%=+ now:
+Helpers like +form_for+ or +div_for+ that insert content from a block use +&lt;%=+ now:
<erb>
<%= form_for @post do |f| %>
...
<% end %>
-<erb>
+</erb>
Your own helpers of that kind are expected to return a string, rather than appending to the output buffer by hand.
-Helpers that do something else, like +cache+ or +content_for+, are not affected by this change, they need +<%+ as before.
+Helpers that do something else, like +cache+ or +content_for+, are not affected by this change, they need +&lt;%+ as before.
h5. Other Changes