We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf9b47 commit 1c72097Copy full SHA for 1c72097
src/main/webapp/WEB-INF/pages/main_new.jsp
@@ -161,7 +161,7 @@
161
<div class="col-md-12">
162
<h4>Lesson Source Code</h4>
163
<div class="panel" >
164
- <div class="panel-body" id="lesson_source">
+ <div class="panel-body" id="lesson_source">
165
</div>
166
167
src/main/webapp/js/goatUtil.js
@@ -35,7 +35,7 @@ goat.utils = {
35
},
36
showLessonSource: function() {
37
$.get("service/source.mvc", {}, function(reply) {
38
- $("#lesson_source").html(reply);
+ $("#lesson_source").html("<pre>"+reply+"</pre>");
39
}, "html");
40
41
showLessonSolution: function() {
0 commit comments