Catalogs: Fix an error creating catalogs in ebook format when one of the books contains HTML entities in its title