Description:
fixed calls to truncate
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r342:fee7f57d2bbe - - 1 file changed: 1 inserted, 1 deleted

@@ -15,8 +15,8
15 = "Submitted at: #{format_short_time(@submission.submitted_at)}"
15 = "Submitted at: #{format_short_time(@submission.submitted_at)}"
16
16
17 %b Source code (first 10kb)
17 %b Source code (first 10kb)
18 %div{:style => "border: 1px solid black; background: lightgrey"}
18 %div{:style => "border: 1px solid black; background: lightgrey"}
19 - if @submission.source
19 - if @submission.source
20 %pre
20 %pre
21 - =h truncate(@submission.source,10240)
21 + =h truncate @submission.source, :length => 10240
22
22
You need to be logged in to leave comments. Login now