(BugId:50896) - Preserve HTML entities when switching between source and visual modes.

See this ticket for more information: https://wikia.fogbugz.com/default.asp?50896