In actions for damages for the writing or publishing of a libel, where the truth is pleaded and given in evidence, if it is found that the same was written or published properly for public information, and with no malicious or mischievous motives, the court or jury may find for the defendant.