Skip to content

Commit 0bd99fe

Browse files
committed
Merge pull request #300 from uppa/uppa.7155
Fixes #7155 : Exercice description bug
2 parents fd02347 + f464909 commit 0bd99fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/exercice/exercise_submit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@
684684
changestart: function(event, ui) {
685685
//var clicked = $(this).find('.ui-state-active').attr('id');
686686
//$('#'+clicked).load('/widgets/'+clicked);
687-
$('#collapse1').html('".addslashes($objExercise->description)."');
687+
$('#collapse1').html(".json_encode($objExercise->description).");
688688
}
689689
});
690690
});

0 commit comments

Comments
 (0)