diff --git a/docs/_framework/_bin/BlazorPrettyCode.dll b/docs/_framework/_bin/BlazorPrettyCode.dll index d5209b0..4d3f900 100644 Binary files a/docs/_framework/_bin/BlazorPrettyCode.dll and b/docs/_framework/_bin/BlazorPrettyCode.dll differ diff --git a/docs/_framework/_bin/BlazorPrettyCode.dll.gz b/docs/_framework/_bin/BlazorPrettyCode.dll.gz index 5b2a5cc..eb3235e 100644 Binary files a/docs/_framework/_bin/BlazorPrettyCode.dll.gz and b/docs/_framework/_bin/BlazorPrettyCode.dll.gz differ diff --git a/docs/_framework/_bin/ClientSideSample.dll b/docs/_framework/_bin/ClientSideSample.dll index 5aba228..f938772 100644 Binary files a/docs/_framework/_bin/ClientSideSample.dll and b/docs/_framework/_bin/ClientSideSample.dll differ diff --git a/docs/_framework/_bin/ClientSideSample.dll.gz b/docs/_framework/_bin/ClientSideSample.dll.gz index a0bb7a9..84d72cd 100644 Binary files a/docs/_framework/_bin/ClientSideSample.dll.gz and b/docs/_framework/_bin/ClientSideSample.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll b/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll index ca71a5b..85e7921 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll.gz b/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll.gz index a71aadb..13c73c6 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll.gz and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.Web.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll b/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll index 3e10fb6..d4d6bb6 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll.gz b/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll.gz index 9138584..eddad4d 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll.gz and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.WebAssembly.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll b/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll index 892ff89..6e8280c 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll differ diff --git a/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll.gz b/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll.gz index 2bc3530..7393b4f 100644 Binary files a/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll.gz and b/docs/_framework/_bin/Microsoft.AspNetCore.Components.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll b/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll index c7bc661..c09e6a2 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll and b/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll.gz index 2e326ef..f46f780 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.Configuration.Abstractions.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll b/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll index db88970..6015856 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll and b/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll.gz index 3562709..02cd99a 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.Configuration.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll index 14f2a6c..0043bad 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll and b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll.gz index 950787f..ed57d60 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.Abstractions.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll index 796b94a..576bb85 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll and b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll.gz index 7d9f165..daa1f18 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.DependencyInjection.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll b/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll index a37e047..e4ba8bf 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll and b/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll.gz index d9ccef5..f9ed704 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.Logging.Abstractions.dll.gz differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll b/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll index 4212532..384a638 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll and b/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll differ diff --git a/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll.gz b/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll.gz index f59a433..b7341a2 100644 Binary files a/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll.gz and b/docs/_framework/_bin/Microsoft.Extensions.Primitives.dll.gz differ diff --git a/docs/_framework/_bin/SamplePages.dll b/docs/_framework/_bin/SamplePages.dll index 55113fe..8a09ae1 100644 Binary files a/docs/_framework/_bin/SamplePages.dll and b/docs/_framework/_bin/SamplePages.dll differ diff --git a/docs/_framework/_bin/SamplePages.dll.gz b/docs/_framework/_bin/SamplePages.dll.gz index b3bddfd..39a4a57 100644 Binary files a/docs/_framework/_bin/SamplePages.dll.gz and b/docs/_framework/_bin/SamplePages.dll.gz differ diff --git a/docs/_framework/_bin/System.Core.dll b/docs/_framework/_bin/System.Core.dll index 88ea5c0..0a37147 100644 Binary files a/docs/_framework/_bin/System.Core.dll and b/docs/_framework/_bin/System.Core.dll differ diff --git a/docs/_framework/_bin/System.Core.dll.gz b/docs/_framework/_bin/System.Core.dll.gz index 497ef3c..17bf5cb 100644 Binary files a/docs/_framework/_bin/System.Core.dll.gz and b/docs/_framework/_bin/System.Core.dll.gz differ diff --git a/docs/_framework/_bin/System.Net.Http.dll b/docs/_framework/_bin/System.Net.Http.dll index 73ab122..6f969b7 100644 Binary files a/docs/_framework/_bin/System.Net.Http.dll and b/docs/_framework/_bin/System.Net.Http.dll differ diff --git a/docs/_framework/_bin/System.Net.Http.dll.gz b/docs/_framework/_bin/System.Net.Http.dll.gz index 6822fac..ae7e779 100644 Binary files a/docs/_framework/_bin/System.Net.Http.dll.gz and b/docs/_framework/_bin/System.Net.Http.dll.gz differ diff --git a/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll b/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll index 15d639c..6c47c29 100644 Binary files a/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll and b/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll.gz b/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll.gz index 4150f6e..79fc45e 100644 Binary files a/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll.gz and b/docs/_framework/_bin/System.Runtime.CompilerServices.Unsafe.dll.gz differ diff --git a/docs/_framework/_bin/System.Text.Encodings.Web.dll b/docs/_framework/_bin/System.Text.Encodings.Web.dll index fe7cc10..8b85e58 100644 Binary files a/docs/_framework/_bin/System.Text.Encodings.Web.dll and b/docs/_framework/_bin/System.Text.Encodings.Web.dll differ diff --git a/docs/_framework/_bin/System.Text.Encodings.Web.dll.gz b/docs/_framework/_bin/System.Text.Encodings.Web.dll.gz index a4b1655..99aa3b5 100644 Binary files a/docs/_framework/_bin/System.Text.Encodings.Web.dll.gz and b/docs/_framework/_bin/System.Text.Encodings.Web.dll.gz differ diff --git a/docs/_framework/_bin/System.Text.Json.dll b/docs/_framework/_bin/System.Text.Json.dll index 3176346..30c3d1e 100644 Binary files a/docs/_framework/_bin/System.Text.Json.dll and b/docs/_framework/_bin/System.Text.Json.dll differ diff --git a/docs/_framework/_bin/System.Text.Json.dll.gz b/docs/_framework/_bin/System.Text.Json.dll.gz index a7123ac..b5f1387 100644 Binary files a/docs/_framework/_bin/System.Text.Json.dll.gz and b/docs/_framework/_bin/System.Text.Json.dll.gz differ diff --git a/docs/_framework/_bin/System.dll b/docs/_framework/_bin/System.dll index b8481de..742fdb1 100644 Binary files a/docs/_framework/_bin/System.dll and b/docs/_framework/_bin/System.dll differ diff --git a/docs/_framework/_bin/System.dll.gz b/docs/_framework/_bin/System.dll.gz index 8e12ff5..6d44a21 100644 Binary files a/docs/_framework/_bin/System.dll.gz and b/docs/_framework/_bin/System.dll.gz differ diff --git a/docs/_framework/_bin/WebAssembly.Bindings.dll b/docs/_framework/_bin/WebAssembly.Bindings.dll index 887012c..5a1df96 100644 Binary files a/docs/_framework/_bin/WebAssembly.Bindings.dll and b/docs/_framework/_bin/WebAssembly.Bindings.dll differ diff --git a/docs/_framework/_bin/WebAssembly.Bindings.dll.gz b/docs/_framework/_bin/WebAssembly.Bindings.dll.gz index ccd3d46..60651bf 100644 Binary files a/docs/_framework/_bin/WebAssembly.Bindings.dll.gz and b/docs/_framework/_bin/WebAssembly.Bindings.dll.gz differ diff --git a/docs/_framework/_bin/WebAssembly.Net.Http.dll b/docs/_framework/_bin/WebAssembly.Net.Http.dll index 48ad587..e96c855 100644 Binary files a/docs/_framework/_bin/WebAssembly.Net.Http.dll and b/docs/_framework/_bin/WebAssembly.Net.Http.dll differ diff --git a/docs/_framework/_bin/WebAssembly.Net.Http.dll.gz b/docs/_framework/_bin/WebAssembly.Net.Http.dll.gz index 9dea114..aba5775 100644 Binary files a/docs/_framework/_bin/WebAssembly.Net.Http.dll.gz and b/docs/_framework/_bin/WebAssembly.Net.Http.dll.gz differ diff --git a/docs/_framework/_bin/mscorlib.dll b/docs/_framework/_bin/mscorlib.dll index d4ae309..1107ccd 100644 Binary files a/docs/_framework/_bin/mscorlib.dll and b/docs/_framework/_bin/mscorlib.dll differ diff --git a/docs/_framework/_bin/mscorlib.dll.gz b/docs/_framework/_bin/mscorlib.dll.gz index 90a22e5..90326d1 100644 Binary files a/docs/_framework/_bin/mscorlib.dll.gz and b/docs/_framework/_bin/mscorlib.dll.gz differ diff --git a/docs/_framework/blazor.boot.json b/docs/_framework/blazor.boot.json index ceb4baf..e15ecc0 100644 --- a/docs/_framework/blazor.boot.json +++ b/docs/_framework/blazor.boot.json @@ -5,35 +5,35 @@ "linkerEnabled": true, "resources": { "assembly": { - "BlazorPrettyCode.dll": "sha256-POsayLQvOM8MeEMj5Gev05LW0fzjtw5vHNRfZVZPSBE=", + "BlazorPrettyCode.dll": "sha256-aSegbpDtx4eVztNuB1jSYOO\/J1tVWmvBwcHLEW1N08k=", "BlazorStyled.dll": "sha256-G9zwi6i\/JKPXHGoJXtU7+BvXvCECGoDk7V\/9vl0wUUA=", "BlazorTypography.dll": "sha256-H03TjLvAmJDCCftTYjc9dgv\/1JGu+qeQutNRYgFwqIw=", - "ClientSideSample.dll": "sha256-4BA4ZJafICIOXYY9PQ7JhrSuTNPSUog8O7YprmGtZsU=", + "ClientSideSample.dll": "sha256-Ak+SUkbpkbiXQAMzUqC4LMx5VIx0ZWgd26kRiUPmN8o=", "CSHTMLTokenizer.dll": "sha256-hayWnG0MBNcIseM4R4ZMbbu9wyTpG5rI4D2G\/pBun3c=", - "Microsoft.AspNetCore.Components.dll": "sha256-Ev76PqucZ4ZRppHSXevRXPFQ17cIvFgPUymTTfHFHYQ=", - "Microsoft.AspNetCore.Components.Web.dll": "sha256-2QNcTkA\/oZL+hnS\/mU9c6YqVYzTh1XBQtQztKXaAtnc=", - "Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-cS3wu1RNSYhy4H2eQmL2QTokfd7afnCMSWZX7nugEpM=", + "Microsoft.AspNetCore.Components.dll": "sha256-a0jGnwxIIbiQ7Rn3ak+AwZtdNcMZEErdE83xjSqmJW0=", + "Microsoft.AspNetCore.Components.Web.dll": "sha256-n7kJIYj1kGX2AVFX85e5LNgznMXVLGICKxvCrUrJA98=", + "Microsoft.AspNetCore.Components.WebAssembly.dll": "sha256-F5axuOW5PhneAg2SWZgHNxAJy5hDDqd4O048hLVpryc=", "Microsoft.Bcl.AsyncInterfaces.dll": "sha256-jzHgXWAvWMkKIGFjZoT84tbe72E+H7CvTr\/Dryh4QPs=", - "Microsoft.Extensions.Configuration.Abstractions.dll": "sha256-SIymp3G3FKBsa8fVT4fxKQQXgN58r1tdHTDmGe4Vuwg=", - "Microsoft.Extensions.Configuration.dll": "sha256-NrNgCjQrSoUJ4y3tvNTLJl5EhhckZ4WX5ZBDhl8dB8I=", - "Microsoft.Extensions.DependencyInjection.Abstractions.dll": "sha256-aR77jntnHfy0KWwKr02mflzhLbKvV4yeG+8cIRbPMg0=", - "Microsoft.Extensions.DependencyInjection.dll": "sha256-mQQBAok2kKoXhut14Y1MPB6QCkyB6xUQRhgnfbRfkPg=", - "Microsoft.Extensions.Logging.Abstractions.dll": "sha256-uRX\/7fluCYK\/dQThC4BPTo4Ac+lDnMcMotNDzkHM3YE=", - "Microsoft.Extensions.Primitives.dll": "sha256-kS5EcLVk1Mk9fdmfdhWAqYT+jCmyKw+sxliZTLVTnl0=", + "Microsoft.Extensions.Configuration.Abstractions.dll": "sha256-8QffJOK60D\/f72td6ZpTH89LiWvTPF90nITmPoTYS8s=", + "Microsoft.Extensions.Configuration.dll": "sha256-yjWgtX6fU5i5G0QDvMWm\/fEaz+iGnVZqGXKZ7hVmptY=", + "Microsoft.Extensions.DependencyInjection.Abstractions.dll": "sha256-mUxhupVL7cU6xottDIL6+1eOvrtCtpZq4CwyF2SXkuw=", + "Microsoft.Extensions.DependencyInjection.dll": "sha256-XkB6\/ATS6ldzzs92VDOvLCMIjYKWDX0pmspZjnsY2\/Y=", + "Microsoft.Extensions.Logging.Abstractions.dll": "sha256-lJm77bE3r449UjGbqMACp9ZYEzQI8Nebgi8Ben4ptF8=", + "Microsoft.Extensions.Primitives.dll": "sha256-S+9ywKZR1\/d76XxnCNy9fX4iSnfYwEQ+3wE1CKzxxd0=", "Microsoft.JSInterop.dll": "sha256-CJ0jnf2G21cOvZYQt\/4NVkv642Xz8fLQyPnHvcfP3D4=", "Microsoft.JSInterop.WebAssembly.dll": "sha256-VP8179q6KlTFT\/O0r6zq3Il8a0P7HOsHY2h35s5Lpng=", - "mscorlib.dll": "sha256-uPsyxf+1N7hGQ21bZqFAgKv5pI15\/TOT\/hXDpT7Rnr8=", + "mscorlib.dll": "sha256-3sOXhFLMg9HjHGprVNVKb6oF9WAqrQlBj92Sx6sA\/WE=", "Polished.net.dll": "sha256-TIAx8OOnl9YQJ9ymf6NK5BEF3Am0xOqKiKQnxarQIbg=", - "SamplePages.dll": "sha256-L8rlqPOHD\/JqQlWWC62\/HvLKgASt12+QTb4t0C\/P1HI=", + "SamplePages.dll": "sha256-tj0TXXsk+FXhwBO8XaFgQcIGswdctSFqgUah4QsqyE4=", "Stateless.dll": "sha256-Z0Ib3TQDHXW7VpbYGpuN0Cz31f+MXMsNE00wihDNoqw=", - "System.Core.dll": "sha256-hbX+R9Z4ac7mEr5tHiwXUbnG3rEzcLPY\/VV3LzBuL0c=", - "System.dll": "sha256-mQkzwaq2zePpMM3AHhdrrZmr2y7TBPPp0jFg+UCDNZw=", - "System.Net.Http.dll": "sha256-\/lfIfmEOWJEYXmRuznwAjOTlJhZjPmnKrYfV0XNLXIU=", - "System.Runtime.CompilerServices.Unsafe.dll": "sha256-yQIxMKZDXA6sXIO5d+xvFFVuwLcn2dTBD\/PV4\/TCfuE=", - "System.Text.Encodings.Web.dll": "sha256-dl\/utSIVTiYg18nMFMOXV\/1fJlKHR0RuxKxNr4b\/EH0=", - "System.Text.Json.dll": "sha256-gcpUZ+8dsmQCEfkKQZ8Vg\/B2IrbbDHyXQMuUu7lj4+0=", - "WebAssembly.Bindings.dll": "sha256-16ANSphgYvCEVBIfL4Xxhcpk3lmDnzV7xL2C8UHbaD0=", - "WebAssembly.Net.Http.dll": "sha256-swx+BzmncO5XDNlxx0h7gS6s988BIaqD2mkcDjsb8E4=" + "System.Core.dll": "sha256-c7+hca2\/1xjRq6k5Wu9ncYsW37nP9nW4GX26r1jw6PA=", + "System.dll": "sha256-tpnSvSR7GvbM6X1X9hUZA6vSNBZcjInOQ8b+DPqz8iA=", + "System.Net.Http.dll": "sha256-Q3yRWUrLW\/19xW8DVab5at98D5U6sqHO6hSk3qAWZMQ=", + "System.Runtime.CompilerServices.Unsafe.dll": "sha256-msyLUaiXM0OLxtqLDSGmyEuGOkyH8tWi2hZBWIyBTuM=", + "System.Text.Encodings.Web.dll": "sha256-Sz4X+z+HeujN9lEO4mOSgvunR9r5IDSx9KPd251wZ7U=", + "System.Text.Json.dll": "sha256-2qjZaJj9l\/1+06tfp1HnD5gosY+YSBdBJ6VU0+NnpqE=", + "WebAssembly.Bindings.dll": "sha256-cVAaUsfLEHa\/6jc4B6NXLWaG1R\/Bc0XpBo5xPUw+t5M=", + "WebAssembly.Net.Http.dll": "sha256-T5ZTcdp5mC8dbmSMJfKvancSEx6eIX+\/C5sFPUW\/bng=" }, "runtime": { "dotnet.3.2.0-preview2.20159.2.js": "sha256-80Q7rIpqLxXzuMWqtC+FCBNrG15kR\/r+ba08n2TpQO0=", diff --git a/docs/_framework/blazor.boot.json.gz b/docs/_framework/blazor.boot.json.gz index 548d418..5ac4a18 100644 Binary files a/docs/_framework/blazor.boot.json.gz and b/docs/_framework/blazor.boot.json.gz differ diff --git a/src/BlazorPrettyCode/BlazorPrettyCode.csproj b/src/BlazorPrettyCode/BlazorPrettyCode.csproj index 7a52725..554f683 100644 --- a/src/BlazorPrettyCode/BlazorPrettyCode.csproj +++ b/src/BlazorPrettyCode/BlazorPrettyCode.csproj @@ -6,7 +6,7 @@ 7.3 true BlazorPrettyCode - 1.4.0 + 1.4.1 Chanan Braunstein Blazor PrettyCode Razor Code Display Component diff --git a/src/BlazorPrettyCode/PrettyCode.cs b/src/BlazorPrettyCode/PrettyCode.cs index 4ccdcd5..5a57b42 100644 --- a/src/BlazorPrettyCode/PrettyCode.cs +++ b/src/BlazorPrettyCode/PrettyCode.cs @@ -591,6 +591,8 @@ private int Next() protected override void BuildRenderTree(RenderTreeBuilder builder) { + builder.OpenComponent(Next()); + builder.CloseComponent(); builder.OpenElement(Next(), "div"); builder.AddAttribute(Next(), "class", _baseDiv); builder.OpenElement(Next(), "pre"); diff --git a/src/BlazorPrettyCode/ServiceCollectionExtensions.cs b/src/BlazorPrettyCode/ServiceCollectionExtensions.cs index 7c10594..a85bfda 100644 --- a/src/BlazorPrettyCode/ServiceCollectionExtensions.cs +++ b/src/BlazorPrettyCode/ServiceCollectionExtensions.cs @@ -14,7 +14,7 @@ public static IServiceCollection AddBlazorPrettyCode(this IServiceCollection ser defaultSettings(defaultSettingsObj); serviceCollection.AddSingleton(defaultSettingsObj); serviceCollection.AddSingleton(); - serviceCollection.AddBlazorStyled(); + serviceCollection.AddBlazorStyled(isDevelopment: defaultSettingsObj.IsDevelopmentMode, isDebug: defaultSettingsObj.IsDevelopmentMode); return serviceCollection; }