diff --git a/ReportGenerator.Reporting/Rendering/HtmlRenderer.cs b/ReportGenerator.Reporting/Rendering/HtmlRenderer.cs index 766f1974..4d91ebde 100644 --- a/ReportGenerator.Reporting/Rendering/HtmlRenderer.cs +++ b/ReportGenerator.Reporting/Rendering/HtmlRenderer.cs @@ -25,6 +25,7 @@ internal class HtmlRenderer : RendererBase, IReportRenderer, IDisposable + {0} - {1} {2} @@ -179,7 +180,7 @@ public void TestMethods(IEnumerable testMethods, IDictionary{3}
", + "{3}
", codeElement.Type == CodeElementType.Method ? "method" : "property", item.Key, codeElement.Line, @@ -413,7 +414,7 @@ public void KeyValueRow(string key, string value) /// The files. public void KeyValueRow(string key, IEnumerable files) { - string value = string.Join("
", files.Select(v => string.Format(CultureInfo.InvariantCulture, "{1}", WebUtility.HtmlEncode(ReplaceNonLetterChars(v)), WebUtility.HtmlEncode(v)))); + string value = string.Join("
", files.Select(v => string.Format(CultureInfo.InvariantCulture, "{1}", WebUtility.HtmlEncode(ReplaceNonLetterChars(v)), WebUtility.HtmlEncode(v)))); this.reportTextWriter.WriteLine( "{0}{1}", diff --git a/ReportGenerator.Reporting/Rendering/resources/customAngularApp.js b/ReportGenerator.Reporting/Rendering/resources/customAngularApp.js index b8e623ee..f5dff176 100644 --- a/ReportGenerator.Reporting/Rendering/resources/customAngularApp.js +++ b/ReportGenerator.Reporting/Rendering/resources/customAngularApp.js @@ -67,7 +67,7 @@ function DetailViewCtrl($scope, $window) { } }; - $scope.navigateToCodeElement = function (hash) { + $scope.navigateToHash = function (hash) { // Prevent history entries when selecting methods/properties if ($window.history !== undefined && $window.history.replaceState !== undefined) { $window.history.replaceState(undefined, undefined, hash);