зеркало из https://github.com/github/ruby.git
* lib/rexml/text.rb (REXML::Text#initialize): do Text.check only when
parent is specified, since Text.check may need doctype. partially revert r26518. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a497f3a52d
Коммит
323d23c44b
|
@ -1,3 +1,9 @@
|
|||
Sun Jan 31 21:29:58 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/rexml/text.rb (REXML::Text#initialize): do Text.check only when
|
||||
parent is specified, since Text.check may need doctype. partially
|
||||
revert r26518.
|
||||
|
||||
Sun Jan 31 21:10:15 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm_insnhelper.c (vm_throw): fixed infinite loop. [ruby-core:27969]
|
||||
|
|
|
@ -117,7 +117,7 @@ module REXML
|
|||
|
||||
@string.gsub!( /\r\n?/, "\n" )
|
||||
|
||||
Text.check(@string, illegal, doctype) if @raw
|
||||
Text.check(@string, illegal, doctype) if @raw and @parent
|
||||
end
|
||||
|
||||
def parent= parent
|
||||
|
|
Загрузка…
Ссылка в новой задаче