Skip to content

Commit

Permalink
CUR-3651 - Issue h5p#6: CL IV Free text question: The answer is displ…
Browse files Browse the repository at this point in the history
…ayed according to the syntax <p>answer<p>
  • Loading branch information
yuvaraj-curriki committed May 5, 2022
1 parent fc6e587 commit bf44160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5p-free-text-question.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ H5P.FreeTextQuestion = (function (EventDispatcher, $, CKEditor) {

// Add the response to the xAPI statement
// Return a stored user response if it exists
xAPIEvent.data.statement.result.response = getResponse();
xAPIEvent.data.statement.result.response = H5P.jQuery(getResponse()).text();
}

if (trigger) {
Expand Down

0 comments on commit bf44160

Please sign in to comment.