Description:
some formatting
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@235 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r115:f5b658d3d5ed - - 1 file changed: 4 inserted, 2 deleted
@@ -26,11 +26,13 | |||
|
26 | 26 | %b Input (first 2kb) |
|
27 | 27 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
28 | 28 | - if @test_request.input_file_name!=nil |
|
29 | - = simple_format(read_textfile(@test_request.input_file_name,2048)) | |
|
29 | + %pre | |
|
30 | + = h(read_textfile(@test_request.input_file_name,2048)) | |
|
30 | 31 | |
|
31 | 32 | %b Output (first 2kb) |
|
32 | 33 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
33 | 34 | - if @test_request.output_file_name!=nil |
|
34 | - = simple_format(read_textfile(@test_request.output_file_name,2048)) | |
|
35 | + %pre | |
|
36 | + = h(read_textfile(@test_request.output_file_name,2048)) | |
|
35 | 37 | - else |
|
36 | 38 | (no output) |
You need to be logged in to leave comments.
Login now