Ignore:
Timestamp:
2009-07-05T10:41:16+02:00 (6 years ago)
Author:
Xuefer
Message:

merged r514-r539 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/coverager/coverager.php

    r615 r623  
    114114                $lines = explode('<br />', $lines);
    115115                $last = array_pop($lines);
     116                $lines[count($lines) - 1] .= $last;
    116117                $filecov = sprint_cov($fileinfo['cov'], $lines, false);
    117                 $filecov .= $last;
    118118                unset($source);
    119119            }
     
    325325        }
    326326        if (isset($cov[$offs])) {
    327             $lines[$l] = sprintf("<li class=\"line%sCov\"> %s\t%s\n</li>"
     327            $lines[$l] = sprintf("<li class=\"line%sCov\"><pre class=\"code\"> %s\t%s\n</pre></li>"
    328328                    , $cov[$offs] ? '' : 'No'
    329329                    , $cov[$offs]
     
    331331        }
    332332        else {
    333             $lines[$l] = "<li>\t$line\n</li>";
     333            $lines[$l] = "<li><pre class=\"code\">\t$line\n</pre></li>";
    334334        }
    335335    }
Note: See TracChangeset for help on using the changeset viewer.