diff options
author | Jimmy Baker <jimmyebaker@gmail.com> | 2008-06-24 22:21:58 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-24 23:11:35 -0700 |
commit | 670e22e3724791f51d639f409930fba5af920081 (patch) | |
tree | c8151b176b010c563da9de37717a36277aea6b13 /actionpack/lib/action_controller/vendor/html-scanner | |
parent | 071fe79279e89e650acce6613f13027527d01650 (diff) | |
download | rails-670e22e3724791f51d639f409930fba5af920081.tar.gz rails-670e22e3724791f51d639f409930fba5af920081.tar.bz2 rails-670e22e3724791f51d639f409930fba5af920081.zip |
Patched HTML::Document#initialize call to Node.parse so that it includes the strict argument. [#330]
Diffstat (limited to 'actionpack/lib/action_controller/vendor/html-scanner')
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner/html/document.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb index 607fd186b9..b8d73c350d 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb @@ -17,7 +17,7 @@ module HTML #:nodoc: @root = Node.new(nil) node_stack = [ @root ] while token = tokenizer.next - node = Node.parse(node_stack.last, tokenizer.line, tokenizer.position, token) + node = Node.parse(node_stack.last, tokenizer.line, tokenizer.position, token, strict) node_stack.last.children << node unless node.tag? && node.closing == :close if node.tag? |