Sanitize HTML Input: Prevent XSS, Allow Safe Markup