Skip to content
This repository
Browse code

Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 341afb6a81a569ae91bdf8c9e3982806423c7a67 1 parent af005df
authored November 06, 2007
2  actionpack/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *SVN*
2 2
 
  3
+* Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]
  4
+
3 5
 * Add documentation for route conditions. Closes #9041 [innu, manfred]
4 6
 
5 7
 * Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N]
6  actionpack/lib/action_controller/assertions/tag_assertions.rb
@@ -37,8 +37,8 @@ module TagAssertions
37 37
       #     to match on the children, and only matching children will be
38 38
       #     counted.
39 39
       # * <tt>:content</tt>: the textual content of the node must match the
40  
-      #     given value. This will not match HTML tags in the body of a
41  
-      #     tag--only text.
  40
+      #   given value. This will not match HTML tags in the body of a
  41
+      #   tag--only text.
42 42
       #
43 43
       # Conditions are matched using the following algorithm:
44 44
       #
@@ -90,7 +90,7 @@ module TagAssertions
90 90
       #              :descendant => { :tag => "span",
91 91
       #                               :child => /hello world/ }
92 92
       #
93  
-      # <strong>Please note</strong: #assert_tag and #assert_no_tag only work
  93
+      # <b>Please note</b>: #assert_tag and #assert_no_tag only work
94 94
       # with well-formed XHTML. They recognize a few tags as implicitly self-closing
95 95
       # (like br and hr and such) but will not work correctly with tags
96 96
       # that allow optional closing tags (p, li, td). <em>You must explicitly

0 notes on commit 341afb6

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