Commit ffab036ad0e8e6390513ca78c066c943f0c1e179
1 parent
76932f46
Exists in
master
and in
27 other branches
ruby_bosh: fix nokogiri change
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
vendor/plugins/ruby_bosh/lib/ruby_bosh.rb
... | ... | @@ -125,8 +125,8 @@ class RubyBOSH |
125 | 125 | end |
126 | 126 | |
127 | 127 | def parse(_response) |
128 | - doc = Nokogiri::HTML.fragment(_response.to_s) | |
129 | - doc.search("body").each do |body| | |
128 | + doc = Nokogiri::XML _response.to_s | |
129 | + doc.css("body").each do |body| | |
130 | 130 | @sid = body.attributes["sid"].to_s |
131 | 131 | end |
132 | 132 | _response | ... | ... |