Despite being the smallest country geographically in Central America , El Salvador has the third largest economy in the region .