except <body>, always nest target in generic wrapper. #42
trim global leading/trailing newlines