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
This commit is contained in:
David Heinemeier Hansson 2007-08-21 22:59:42 +00:00
parent d24c73dedb
commit 5f163d256c
1 changed files with 0 additions and 3 deletions

View File

@ -58,9 +58,6 @@ module HTML #:nodoc:
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