[#74035] Update spec to handle encoded entities