def create_patch(before_node, after_node)
      if before_node.to_html == after_node.to_html
        []
      else
        create_patch_from_children(before_node, after_node)
      end
    end
def create_patch(before_node, after_node)
      if before_node.to_html == after_node.to_html
        []
      else
        create_patch_from_children(before_node, after_node)
      end
    end
Creates a patch from given two nodes
 @param [Nokogiri::XML::Node] before_node
 @param [Nokogiri::XML::Node] after_node
 @return [Array<Markdiff::Operations::Base>] operations