From 275e2501ff23325cb4238073308899ff83609850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 5 Jun 2014 22:09:28 +0200 Subject: [PATCH] htmlreport: fix syntax highlighting broken in ca4a0af840f45107ce33d902bd4d77d5af09aedf. --- htmlreport/cppcheck-htmlreport | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index ed31abcf8..ce4a8fb28 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -122,6 +122,9 @@ HTML_HEAD = """ Cppcheck - HTML report - %s +
@@ -318,7 +321,7 @@ if __name__ == '__main__': 'w') as output_file: output_file.write(HTML_HEAD % (options.title, - #htmlFormatter.get_style_defs('.highlight'), + htmlFormatter.get_style_defs('.highlight'), options.title, filename)) @@ -343,7 +346,7 @@ if __name__ == '__main__': print('Creating index.html') with io.open(os.path.join(options.report_dir, 'index.html'), 'w') as output_file: - output_file.write(HTML_HEAD % (options.title, options.title, '')) + output_file.write(HTML_HEAD % (options.title, '', options.title, '')) output_file.write(HTML_HEAD_END) output_file.write(' \n') output_file.write(