Skip to content
Snippets Groups Projects
Commit ef82ced2 authored by Diana Huang's avatar Diana Huang
Browse files

Improve the paragraph maker on the staff grading page

parent ffa42b6f
No related branches found
No related tags found
No related merge requests found
......@@ -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 += "<p>#{paragraph}</p>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment