1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -58,9 +58,6 @@ module HTML #:nodoc:
elsif @scanner.scan(/!/) # doctype elsif @scanner.scan(/!/) # doctype
tag << @scanner.matched tag << @scanner.matched
tag << consume_quoted_regions tag << consume_quoted_regions
elsif @scanner.scan(/\?/) # processing instructions, drop them
tag = ''
@scanner.scan_until(/\/>/)
else else
tag << consume_quoted_regions tag << consume_quoted_regions
end end