lib/templates/awesome/awesome_template.rb in metric_fu-2.1.0 vs lib/templates/awesome/awesome_template.rb in metric_fu-2.1.1

- old
+ new

@@ -54,10 +54,11 @@ out << "</ul>" else out << "&nbsp;" end out << "</td>" - out << "<td valign='top'><a name='line#{idx + 1}'>#{convertor.convert(line)}</a></td>" + line_for_display = MetricFu.configuration.syntax_highlighting ? convertor.convert(line) : line + out << "<td valign='top'><a name='line#{idx + 1}'>#{line_for_display}</a></td>" out << "</tr>" end out << "<table></body></html>" MetricFu.report.save_output(out, MetricFu.output_directory, fn)