CRM-11475 - Consistently cleanup markup from preview, even if it's atypical (eg markup for a fatal error screen)