I have a tool that allows people to build their own web pages that are hosted on the site. I want to add a tool to allow users to add custom html to the page but I'm worried about malicious code that some might enter. Does anyone have any advice or know of any good articles about filtering for this sort of thing while still allowing them to import code?