Skip to content
This repository
Browse code

Fix styiling issue on ActionView::Template docs

  • Loading branch information...
commit 1f7d55e5c78390eedf80d8b33d3bb97cedcea8f8 1 parent 973c6e2
Sebastian Martinez authored May 10, 2011

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  actionpack/lib/action_view/template.rb
10  actionpack/lib/action_view/template.rb
@@ -79,9 +79,9 @@ class Template
79 79
     # you are handling out-of-band metadata, you are
80 80
     # also responsible for alerting the user to any
81 81
     # problems with converting the user's data to
82  
-    # the default_internal.
  82
+    # the <tt>default_internal</tt>.
83 83
     #
84  
-    # To do so, simply raise the raise WrongEncodingError
  84
+    # To do so, simply raise the raise +WrongEncodingError+
85 85
     # as follows:
86 86
     #
87 87
     #     raise WrongEncodingError.new(
@@ -198,7 +198,7 @@ def compile!(view) #:nodoc:
198 198
       # Among other things, this method is responsible for properly setting
199 199
       # the encoding of the source. Until this point, we assume that the
200 200
       # source is BINARY data. If no additional information is supplied,
201  
-      # we assume the encoding is the same as Encoding.default_external.
  201
+      # we assume the encoding is the same as <tt>Encoding.default_external</tt>.
202 202
       #
203 203
       # The user can also specify the encoding via a comment on the first
204 204
       # line of the template (# encoding: NAME-OF-ENCODING). This will work
@@ -212,8 +212,8 @@ def compile!(view) #:nodoc:
212 212
       # specifying the encoding. For instance, ERB supports <%# encoding: %>
213 213
       #
214 214
       # Otherwise, after we figure out the correct encoding, we then
215  
-      # encode the source into Encoding.default_internal. In general,
216  
-      # this means that templates will be UTF-8 inside of Rails,
  215
+      # encode the source into <tt>Encoding.default_internal</tt>.
  216
+      # In general, this means that templates will be UTF-8 inside of Rails,
217 217
       # regardless of the original source encoding.
218 218
       def compile(view, mod) #:nodoc:
219 219
         method_name = self.method_name

0 notes on commit 1f7d55e

Please sign in to comment.
Something went wrong with that request. Please try again.