In our application, we allow user’s to write their Bio using a WYSIWYG editor, but it often contains bad HTML that breaks our page. Is it a good idea to show the user bio inside an iframe so it doesn’t affect the rest of the page? Or any better options?
Thanks
Its thats not a bad idea, but why dont you validate the html before you save it? Or is it not bad just plain ugly? Most editors do have i.e clean office formatting. Or is it a bussiness requirement to allow entering HTML?
But iframe is the most safe way of doing it, I’d say go for it!