sanitize

Sanitize HTML to prevent XSS and page malformatting attacks

The credit for this ruby procedure must be given to Dwight Shih & Brad Choate.

The usefulness of this type of an action cannot be overemphasized. You can essentially use it to define the specific tags that you want to insure are not malformed and abused maliciously. Feel free to test it and share any suggestions.