Ejaculating inside and pregnant.

Is it okay if your partner/husband ejaculates inside during 2nd trimester? Will it not harm the baby? Thanks!