Fix issues with WikiEditor preview.