Fix gallery caption text.