diff --git a/h5p-free-text-question.js b/h5p-free-text-question.js index 12844af..ac9ff92 100644 --- a/h5p-free-text-question.js +++ b/h5p-free-text-question.js @@ -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) {