If you want use extGallery extention you must active it on class/textsanitizer/config.php file by add (("gallery" => 1,)) in config array or replace config.php.

If you want don't use extGalery extention you must remove (("gallery" => 1,)) from class/textsanitizer/config.php or use config-original.php 