Protect Parsoid-generated attributes.

Encapsulate user provided content when necessary.

Bug: 48772
Change-Id: I76c27639f73c505166d00c24b7164035378613a8
Merge "Protect Parsoid-generated attributes."