Three-year jail sentence for newspaper editor upheld on appeal