A cleric casts sanctuary and the fighter(F1) he was fighting fails his will save. The fighter turns around and attacks two people(F2 and F3) who had been flanking him. Does the cleric still give F2 and/oir F3 a flanking bonus, even though he is affected by the sanctuary spell and is not attacking? At the moment he is healing/buffing.

msquared