The unique LDS doctrine of the embodiment of the Holy Ghost has a fascinating history. Ron Bartholomew looks at the text of Doctrine and Covenants 130:
"The Father has a body of flesh and bones as tangible as man's; the Son also; but the Holy Ghost has not a body of flesh and bones, but is a personage of Spirit. Were it not so, the Holy Ghost could not dwell in us."
The text went through several stages of development before arriving at its current wording and punctuation. This article details, step by step, the various modifications that were made to the text from 1843 to 1858, when it reached its present form
Bartholomew, Ronald E.
"The Textual Development of D&C 130:22 and the Embodiment of the Holy Ghost,"
BYU Studies Quarterly: Vol. 52
, Article 2.
Available at: https://scholarsarchive.byu.edu/byusq/vol52/iss3/2