aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/vendor
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-09-03 16:40:01 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-09-03 16:40:01 +0000
commitdb9be587196b2fdebacaecf54efe70940b006989 (patch)
tree58afd341788c84eff03de489511dee9f0c8f1e29 /actionpack/lib/action_controller/vendor
parenta769b88819ac1ad1d89a1f9138bf1546091d3744 (diff)
downloadrails-db9be587196b2fdebacaecf54efe70940b006989.tar.gz
rails-db9be587196b2fdebacaecf54efe70940b006989.tar.bz2
rails-db9be587196b2fdebacaecf54efe70940b006989.zip
Cleanup assert_tag :children counting. Closes #2181.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/vendor')
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/node.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
index 3397e0db15..7b53af9591 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
@@ -455,7 +455,6 @@ module HTML #:nodoc:
# count children
if opts = conditions[:children]
matches = children.select do |c|
- c.match(/./) or
(c.kind_of?(HTML::Tag) and (c.closing == :self or ! c.childless?))
end