src/language-html/print/children.js/printChild
function printChild(childPath, options, print) {
  const child = childPath.getValue();

  if (hasPrettierIgnore(child)) {
    return [
      printOpeningTagPrefix(child, options),
      ...replaceTextEndOfLine(
        options.originalText.slice(
          locStart(child) +
            (child.prev && needsToBorrowNextOpeningTagStartMarker(child.prev)
              ? printOpeningTagStartMarker(child).length
              : 0),
          locEnd(child) -
            (child.next && needsToBorrowPrevClosingTagEndMarker(child.next)
              ? printClosingTagEndMarker(child, options).length
              : 0)
        )
      ),
      printClosingTagSuffix(child, options),
    ];
  }

  return print();
}