Hi

I'm using Scald module and the display of question body is not correct in the answering form.

I write a patch to fix it, I think it's a better way to render body. Are you agree ?

file quiz_question.core.inc L 434 :

actual code :

public function getAnsweringForm(array $form_state = NULL, $rid) {
    //echo $this->node->type;exit;
    $form = array();
    $form['question_nid'] = array(
      '#type' => 'hidden',
      '#value' => $this->node->nid,
    );
    $body = field_get_items('node', $this->node, 'body');
    $form['question'] = array(
      '#markup' => check_markup($body[0]['value'], $body[0]['format']),
      '#prefix' => '<div class="quiz-question-body">',
      '#suffix' => '</div>',
    );
    return $form;
  }

code with patch :

public function getAnsweringForm(array $form_state = NULL, $rid) {
    //echo $this->node->type;exit;
    $form = array();
    $form['question_nid'] = array(
      '#type' => 'hidden',
      '#value' => $this->node->nid,
    );
    $form['question'] = field_view_field('node', $this->node, 'body');
    $form['question']['#prefix'] = '<div class="quiz-question-body">';
    $form['question']['#suffix'] = '</div>';
    return $form;
  }