Permalink
Browse files

Fix configuring guide to validate XHTML 1.0 Strict

  • Loading branch information...
jaimeiniesta committed Apr 6, 2010
1 parent d14deb7 commit 71057c814e655c9a41a76ac5bbc51d26307c2ad0
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/configuring.textile
@@ -183,7 +183,7 @@ There are only a few configuration options for Action View, starting with four o
* +config.action_view.warn_cache_misses+ tells Rails to display a warning whenever an action results in a cache miss on your view paths. The default is +false+.
-* +config.action_view.field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is <tt>Proc.new{ |html_tag, instance| "<div class=\"fieldWithErrors\">#{html_tag}</div>" }</tt>
+* +config.action_view.field_error_proc+ provides an HTML generator for displaying errors that come from Active Record. The default is <tt>Proc.new{ |html_tag, instance| "&lt;div class=\"fieldWithErrors\"&gt;#{html_tag}&lt;/div&gt;" }</tt>
* +config.action_view.default_form_builder+ tells Rails which form builder to use by default. The default is +ActionView::Helpers::FormBuilder+.

0 comments on commit 71057c8

Please sign in to comment.