Fix #695: Form Population Filter incorrectly inserts XML prolog into HTML documents
merge b3b5686496473402ab648ac9791f48ffe0ff4acf