Don't format a document when no nodes should be formatted.