Rename NoOp to Noop

To match the rest of the classes
This commit is contained in:
Mole
2022-01-24 09:23:07 +01:00
parent 01c1e68cf0
commit 249774c815
2 changed files with 4 additions and 1 deletions

View File

@@ -263,6 +263,9 @@ namespace Umbraco.Cms.Core.DependencyInjection
// Register telemetry service used to gather data about installed packages
Services.AddUnique<ITelemetryService, TelemetryService>();
// Register a noop IHtmlSanitizer to be replaced
Services.AddUnique<IHtmlSanitizer, NoopHtmlSanitizer>();
}
}
}

View File

@@ -1,6 +1,6 @@
namespace Umbraco.Cms.Core.Security
{
public class NoOpHtmlSanitizer : IHtmlSanitizer
public class NoopHtmlSanitizer : IHtmlSanitizer
{
public string Sanitize(string html)
{