Skip to content

Commit

Permalink
Unbreak a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Feb 27, 2024
1 parent 9700dc7 commit 4ed960c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Umbraco.Web/PropertyEditors/MarkdownPropertyEditor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Umbraco.Core;
using System;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Logging;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Security;
Expand All @@ -19,6 +21,13 @@ public class MarkdownPropertyEditor : DataEditor
{
private readonly IMarkdownSanitizer _markdownSanitizer;

[Obsolete("Use non obsolete constructor")]
public MarkdownPropertyEditor(ILogger logger)
: this(logger, Current.Factory.GetInstance<IMarkdownSanitizer>())
{

}

/// <summary>
/// Initializes a new instance of the <see cref="MarkdownPropertyEditor"/> class.
/// </summary>
Expand Down

0 comments on commit 4ed960c

Please sign in to comment.