Bad rendering of the data-position attribute on script tag
See original GitHub issueHello,
With Mini Profiler 4.2.1 the attribute data-position on script tag has 2 double quote ending: data-position=“Left”"
On EDGE : HTML1423 warning on console.
The script tag render :
<script async id="mini-profiler" src="/mini-profiler-resources/includes.min.js?v=4.2.1+b27bea37e9" data-version="4.2.1+b27bea37e9" data-path="/mini-profiler-resources/" data-current-id="03f0b54a-0032-4e3b-9a44-24c25344505c" data-ids="03f0b54a-0032-4e3b-9a44-24c25344505c" data-position="Left"" data-scheme="Light" data-authorized="true" data-max-traces="15" data-toggle-shortcut="Alt+P" data-trivial-milliseconds="2.0" data-ignored-duplicate-execute-types="Open,OpenAsync,Close,CloseAsync"></script>
My config:
<PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.2.1" />
<PackageReference Include="MiniProfiler.EntityFrameworkCore" Version="4.2.1" />
services.AddMiniProfiler().AddEntityFramework();
and
<mini-profiler />
Best Regards
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10 (4 by maintainers)
This was fixed already, but was not promoted to the NuGet feed yet. Look for 4.2.22 landing on NuGet in just a bit, or available on MyGet already!
I’m seeing the same issue.
This has the unintended issue causing other problems with packages such as WebMarkupMin https://github.com/Taritsyn/WebMarkupMin/issues/112