Fix #771: Form Population Filter incorrectly inserts XML prolog into HTML documents