To reproduce: write a template that outputs more than 65536 characters. Your output will be truncated.