I have a node which has two children: an HTML text and an HTML element.
Installation on server
node.prepend_child span_node
Nokogiri::XML::Node#prepend_child Documentation