Which sentence does not contain any punctuation errors?

A.
I thought of you when I read these words of Shakespeare; “The fool doth think he is wise, but the wise man knows himself to be a fool.”

B.
I thought of you when I read these words of Shakespeare—“The fool doth think he is wise, but the wise man knows himself to be a fool.”

C.
I thought of you when I read these words of Shakespeare “The fool doth think he is wise, but the wise man knows himself to be a fool.”

D.
I thought of you when I read these words of Shakespeare: "The fool doth think he is wise, but the wise man knows himself to be a fool."