From d76f6c1cdba168852751ec25bcfb6113047c8d51 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Sat, 29 Sep 2012 11:35:31 +0700 Subject: [PATCH] {localLink} parsing in MVC is now all working. --- src/Umbraco.Web/UmbracoHelper.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web/UmbracoHelper.cs b/src/Umbraco.Web/UmbracoHelper.cs index ef64f344c7..d9af4928f7 100644 --- a/src/Umbraco.Web/UmbracoHelper.cs +++ b/src/Umbraco.Web/UmbracoHelper.cs @@ -233,10 +233,8 @@ namespace Umbraco.Web ItemRenderer.Instance.Load(item); ItemRenderer.Instance.Render(item, htmlWriter); - //Now, we need to ensure that local links are parsed - return new HtmlString( - TemplateUtilities.ParseInternalLinks( - output.ToString())); + //because we are rendering the output through the legacy Item (webforms) stuff, the {localLinks} will already be replaced. + return new HtmlString(output.ToString()); } }