private function stripBase64($input)
    {
        $decoded = base64_decode($input);
        $decoded = $this->stripTags($decoded);
        $decoded = $this->stripEncodedEntities($decoded);
        $output  = base64_encode($decoded);

        return $output;
    }