replace, not append decoded html for WEB-8156 (fix merge snafu for WEB-7972)