func (m *minificationText) openTag(node *html.Node) { parent := node.Parent for it := node.FirstChild; it != nil; it = it.NextSibling { it.Parent = parent } parent.FirstChild = node.FirstChild parent.LastChild = node.LastChild node.FirstChild = nil node.LastChild = nil node.Parent = nil }