html encode for mission and position