I was talking with an options trader that said he never writes calls on stocks that have dividends, because of various reasons. One of the reasons being that, under certain conditions, the writer of the option is obligated to surrender dividends they received when the option buyer should have received them.
He mentioned that this could happen if the buyer exercised the option at or around the ex-dividend date. Is this true?