make source render in pre tag

This commit is contained in:
rlawson 2014-08-27 22:09:17 -04:00
parent 5cf9b4752a
commit 1c72097c24
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ goat.utils = {
},
showLessonSource: function() {
$.get("service/source.mvc", {}, function(reply) {
$("#lesson_source").html(reply);
$("#lesson_source").html("<pre>"+reply+"</pre>");
}, "html");
},
showLessonSolution: function() {