diff --git a/Wabbajack.Server/Extensions/NettleFunctions.cs b/Wabbajack.Server/Extensions/NettleFunctions.cs index 277cac26..d5795a96 100644 --- a/Wabbajack.Server/Extensions/NettleFunctions.cs +++ b/Wabbajack.Server/Extensions/NettleFunctions.cs @@ -39,7 +39,7 @@ public static class NettleFunctions protected override object GenerateOutput(TemplateContext context, params object[] parameterValues) { var value = GetParameterValue("text", parameterValues); - return Regex.Escape(value).Replace("'", "\'"); + return Regex.Escape(value).Replace("'", "\\'"); } public override string Description => "Escapes a string";