Issue 2684 remote publish popup parse error in htmlpage preview