sparklemotion/nokogiri — pull request #1152 by esse (2014-08-30 22:43:52+00:00)
Title: if node doesnt have parent unlink in jruby should return self.

If node doesn't have parent node - simply return self, as would Nokogiri for C would do, because that means that node is already detached.

This commit fixes issue #1112.