From 577b989c4c2f4e6e0fbb005870ca1bfd5b961755 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 28 Nov 2012 08:41:54 -0100 Subject: [PATCH] Aha, string needs to start all the way to the left to appear nicely in the editor --- src/umbraco.cms/businesslogic/template/ViewHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/umbraco.cms/businesslogic/template/ViewHelper.cs b/src/umbraco.cms/businesslogic/template/ViewHelper.cs index f808dd6f83..8de24710b7 100644 --- a/src/umbraco.cms/businesslogic/template/ViewHelper.cs +++ b/src/umbraco.cms/businesslogic/template/ViewHelper.cs @@ -106,9 +106,9 @@ namespace umbraco.cms.businesslogic.template if (string.IsNullOrEmpty(design)) { design = @"@inherits Umbraco.Web.Mvc.UmbracoTemplatePage - @{ - Layout = null; - }"; +@{ + Layout = null; +}"; if (template.MasterTemplate > 0) design = design.Replace("null", string.Format("\"{0}.cshtml\"", new Template(template.MasterTemplate).Alias.Replace(" ", "")));