Skip to content

Render formatted text for answer options

Daniel Gerhardt requested to merge answer-options-with-text-rendering into master

In preparation of formatting rendering minor refactoring was done.

Choice answer statistics:

  • Reuse AnswerOption model instead of AnswerList.
  • Renamed label to labelLetters to avoid confusion with AnswerOption's label. A separate array of the string is no longer created.

Sort answer statistics:

  • Directly use options for the content.

Closes: #929 (closed)

Merge request reports