diff --git a/src/OrchardCore.Modules/OrchardCore.Liquid/Filters/ContentUrlFilter.cs b/src/OrchardCore.Modules/OrchardCore.Liquid/Filters/ContentUrlFilter.cs index 84af20d6189..d3e27129f58 100644 --- a/src/OrchardCore.Modules/OrchardCore.Liquid/Filters/ContentUrlFilter.cs +++ b/src/OrchardCore.Modules/OrchardCore.Liquid/Filters/ContentUrlFilter.cs @@ -18,8 +18,8 @@ public ValueTask ProcessAsync(FluidValue input, FilterArguments argu var urlHelper = _urlHelperFactory.GetUrlHelper(context.ViewContext); var trimmedInputString = input.ToStringValue().Trim(); - var absoluteUrl = urlHelper.Content(trimmedInputString); + var absolutePath = urlHelper.Content(trimmedInputString); - return ValueTask.FromResult(new StringValue(absoluteUrl)); + return new StringValue(absolutePath); } }