diff --git a/NUnit HTML Report Generator/Program.cs b/NUnit HTML Report Generator/Program.cs index b6b474e..70da95f 100644 --- a/NUnit HTML Report Generator/Program.cs +++ b/NUnit HTML Report Generator/Program.cs @@ -519,7 +519,7 @@ private static string GenerateFixtureModal(XElement fixture, string modalId, str // Add failure messages if available if (testCase.Elements("failure").Count() == 1) { - html.AppendLine(string.Format("
Message: {0}
", testCase.Element("failure").Element("message").Value)); + html.AppendLine(string.Format("
Message:
{0}
", testCase.Element("failure").Element("message").Value)); html.AppendLine(string.Format("
Stack Trace:
{0}
", testCase.Element("failure").Element("stack-trace").Value)); }