MiniProfiler / dotnet

A simple but effective mini-profiler for ASP.NET (and Core) websites
https://miniprofiler.com/dotnet/
MIT License
2.92k stars 602 forks source link

Setting PopupDecimalPlaces does not have any effect #652

Closed nickmqb closed 1 year ago

nickmqb commented 1 year ago

Setting the PopupDecimalPlaces option does not have any effect on .NET Framework, ASP.NET MVC.

Looking at the code, it seems like the problem is with StackExchange.Profiling.Internal.Render.Includes() (2nd overload). This overload does not emit the data-decimal-places attribute, whereas the first one does.