Description:
Fixed truncate
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r370:9b23889aa864 - - 1 file changed: 1 inserted, 1 deleted
@@ -25,7 +25,7 | |||||
|
25 | - if @test_request.compiler_message!=nil and @test_request.compiler_message!='' |
|
25 | - if @test_request.compiler_message!=nil and @test_request.compiler_message!='' |
|
26 | %b Compiler Message |
|
26 | %b Compiler Message |
|
27 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
27 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
28 | - = simple_format(truncate((@test_request.compiler_message or ''),200)) |
|
28 | + = simple_format(truncate((@test_request.compiler_message or ''), :length => 200)) |
|
29 |
|
29 | ||
|
30 | %b Input (first 2kb) |
|
30 | %b Input (first 2kb) |
|
31 | %div{:style => "border: 1px solid black; background: lightgrey"} |
|
31 | %div{:style => "border: 1px solid black; background: lightgrey"} |
You need to be logged in to leave comments.
Login now