Currently, PageHTMLHandler will return the same eTag when returning the same (flavor of, see T308743) rendering of a page, regardless of whether the HTML is returned plain or wrappeed.
But etags must be different when the output is different. So when the HTML is wrapped, the etag must change.