Document Editor displays raw HTML when using Back and Forward