For the most parts, you actually shouldnt sanitise the input for a specific case. Try storing it unsanitized (dont strip anything), then do it when you output things.
This way, you can always use the submitted data for any other form of presentation, not only HTML. If the user submits a <
you shouldnt store <
. Also, when sanitizing the output you are 100% sure its done.