mirror of
https://github.com/github/rails.git
synced 2026-02-19 02:14:20 -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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user