fixes #2112
Merge pull request #2113 from dotCMS/issue-2112-remote-publishing-HTML-page-does-not-send-the-state

fixes #2112