Jailed editor pardoned and released