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:
parent
d24c73dedb
commit
5f163d256c
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue