Let $D$ be a UFD such that every prime ideal is contained in a principal proper ideal. Is then $D$ a PID ?
I can only prove that if every proper ideal of a UFD is contained in a principal proper ideal then it is a PID. Please help. Thanks in advance.