Confusion in using if and would in the same sentence
I have learned in high school that it is forbidden to use if and would in the same sentence. But now gymglish gave me the following correction in my last lesson: "I would appreciate it if you would not smoke on the bus." I would appreciate it very much if someone could explain to me the right solution. Thank you very much in advance!