We definitely should not write this. It may not be the case that html is being streamed.