diff --git a/app/views/student_work/show.js.erb b/app/views/student_work/show.js.erb index 1a133a5d3..477f06e0f 100644 --- a/app/views/student_work/show.js.erb +++ b/app/views/student_work/show.js.erb @@ -25,7 +25,7 @@ else{ indentUnit: 2, matchBrackets: true, readOnly: true, - value: document.getElementById("work-src").innerText + value: $("#work-src").text() } );