'Laravel xss protection ignore input name

how to ; input name "content" is ignore ?
how can i do like in example eg:

if ($inputname != "content){
  $input = strip_tags($input);
}
public function handle(Request $request, Closure $next)
    {
        $input = $request->all();
        array_walk_recursive($input, function (&$input) {
            $input = strip_tags($input);
        });
        $request->merge($input);
        return $next($request);
    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source