Description:
fixed extra space in pre tag on problem discriptions
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r240:01801dd237cd - - 1 file changed: 1 inserted, 1 deleted

@@ -1,21 +1,21
1 .problem-panel{:id => "problem-panel-#{problem.id}", :style => "#{(problem.id != @current_problem_id) ? "display:none" : ""}"}
1 .problem-panel{:id => "problem-panel-#{problem.id}", :style => "#{(problem.id != @current_problem_id) ? "display:none" : ""}"}
2 .problem-form{:id => "problem-form-#{problem.id}"}
2 .problem-form{:id => "problem-form-#{problem.id}"}
3 - form_tag({ :action => 'download_input', :id => problem.id }, :method => :post) do
3 - form_tag({ :action => 'download_input', :id => problem.id }, :method => :post) do
4 %b Input:
4 %b Input:
5 %input{:type => "submit", :value => "Download input", :onclick => "CodejomTimeout.updateTimeoutAfterDownloadClick(#{problem.id}); return true;"}
5 %input{:type => "submit", :value => "Download input", :onclick => "CodejomTimeout.updateTimeoutAfterDownloadClick(#{problem.id}); return true;"}
6 %span{:id => "problem-timing-message-#{problem.id}"}
6 %span{:id => "problem-timing-message-#{problem.id}"}
7 = "After downloading, you have #{TEST_ASSIGNMENT_EXPIRATION_DURATION/60} minutes to submit."
7 = "After downloading, you have #{TEST_ASSIGNMENT_EXPIRATION_DURATION/60} minutes to submit."
8 %div{:id => "problem-submission-form-#{problem.id}"}
8 %div{:id => "problem-submission-form-#{problem.id}"}
9 - form_tag({ :action => 'submit_solution', :id => problem.id }, :method => :post, :multipart => true) do
9 - form_tag({ :action => 'submit_solution', :id => problem.id }, :method => :post, :multipart => true) do
10 %b Submit output:
10 %b Submit output:
11 %input{:type => "file", :name => "file"}
11 %input{:type => "file", :name => "file"}
12 %input{:type => "submit", :value => "Submit solution"}
12 %input{:type => "submit", :value => "Submit solution"}
13
13
14 .problem-description
14 .problem-description
15 - if problem.description!=nil
15 - if problem.description!=nil
16 - if problem.description.markdowned
16 - if problem.description.markdowned
17 - = markdown(problem.description.body)
17 + ~ markdown(problem.description.body)
18 - else
18 - else
19 = problem.description.body
19 = problem.description.body
20 - else
20 - else
21 (not available)
21 (not available)
You need to be logged in to leave comments. Login now