Piotrek Koszuliński60982ee158Got rid of unnecessary file type checks (that's the caller's duty), superfluous tests and corrected test for inserting image at disallowed position.
60982ee158
Got rid of unnecessary file type checks (that's the caller's duty), superfluous tests and corrected test for inserting image at disallowed position.