Added sanitizer callback.
You can now specify a callback function for sanitizing HTML.