Skip to content
Browse files

Back out of [7300] -- it screwed up nested XML

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d24c73d commit 5f163d256c718596d5848d60e7cf8c400f622bb7 @dhh dhh committed Aug 21, 2007
Showing with 0 additions and 3 deletions.
  1. +0 −3 actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
View
3 actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
@@ -58,9 +58,6 @@ def scan_tag
elsif @scanner.scan(/!/) # doctype
tag << @scanner.matched
tag << consume_quoted_regions
- elsif @scanner.scan(/\?/) # processing instructions, drop them
- tag = ''
- @scanner.scan_until(/\/>/)
else
tag << consume_quoted_regions
end

0 comments on commit 5f163d2

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