he is said to/it is said he
There is this sentence in my task that I need to rewrite in a different way, but it still has to have similar meaning. Also, I have to use the word in brackets.
They say he hates publicity. (said)
My version: He is said to hate publicity.
Answer key version: It is said he hates publicity.
Which one is correct?