Fix for Issue 12262
Fixes issue https://github.com/umbraco/Umbraco-CMS/issues/12262
This commit is contained in:
@@ -15,7 +15,7 @@ catch (Exception ex)
|
||||
public static string EditorView(dynamic contentItem)
|
||||
{
|
||||
string view = contentItem.editor.render != null ? contentItem.editor.render.ToString() : contentItem.editor.view.ToString();
|
||||
view = view.ToLower().Replace(".html", ".cshtml");
|
||||
view = view.Replace(".html", ".cshtml");
|
||||
|
||||
if (!view.Contains("/"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user