protected function to_text($html)
 {
     return $this->updater->to_text($html);
 }
 protected function process2($step, $state)
 {
     if ($this->finishstate) {
         $this->logger->log_assumption("Ignoring bogus save after submit in an " . "adaptive attempt at question {$state->question} " . "(question session {$this->qsession->id})");
         return;
     }
     if ($this->question->maxmark > 0) {
         $step->fraction = $state->grade / $this->question->maxmark;
     }
     $this->laststepwasatry = false;
     parent::process2($step, $state);
 }