dhindrik / TinyInsights.Maui

TinyInsights is a library for tracking and a website for showing insights for your .NET MAUI app. Data will be saved in Application Insights. The website will help you to show the data in a more mobile app-friendly user interface.
MIT License
32 stars 6 forks source link

Improve StackTrace format #15

Closed IeuanWalker closed 3 weeks ago

IeuanWalker commented 3 weeks ago

Before - image

After - image

Only change is this, the rest is VS formatted -

<code>
    @((MarkupString)Regex.Replace(HttpUtility.HtmlEncode(@data.Items.First().StackTrace ?? string.Empty), "\r?\n|\r", "<br />"));
</code>
dhindrik commented 3 weeks ago

Nice! Thank you for contributing.