mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
yeah did, that wrong
This commit is contained in:
parent
745361b506
commit
adba503183
@ -39,7 +39,7 @@ public static class NettleFunctions
|
||||
protected override object GenerateOutput(TemplateContext context, params object[] parameterValues)
|
||||
{
|
||||
var value = GetParameterValue<string>("text", parameterValues);
|
||||
return Regex.Escape(value).Replace("'", "\'");
|
||||
return Regex.Escape(value).Replace("'", "\\'");
|
||||
}
|
||||
|
||||
public override string Description => "Escapes a string";
|
||||
|
Loading…
Reference in New Issue
Block a user