From ef82ced2af3f8852e1af71b61bd00f1bd9867059 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Thu, 6 Dec 2012 13:24:20 -0500 Subject: [PATCH] Improve the paragraph maker on the staff grading page --- lms/static/coffee/src/staff_grading/staff_grading.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/static/coffee/src/staff_grading/staff_grading.coffee b/lms/static/coffee/src/staff_grading/staff_grading.coffee index a70c33fdff..3bdefb455c 100644 --- a/lms/static/coffee/src/staff_grading/staff_grading.coffee +++ b/lms/static/coffee/src/staff_grading/staff_grading.coffee @@ -307,7 +307,7 @@ class StaffGrading @get_next_submission problem.location make_paragraphs: (text) -> - paragraph_split = text.split("\n") + paragraph_split = text.split(/\n\s*\n/) new_text = '' for paragraph in paragraph_split new_text += "

#{paragraph}

"