Fix for Google Docs, and markup in affixes, which was causing corruption.

Should be good now, I'll go ahead and pull this.