Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.15.0, 0.12.0
-
None
-
None
Description
If you want to include the bare string {{.Foo}} in a job's cmdline, you currently have to do this: {{&&&&&&&&&&&&.Foo}} - that's twelve ampersands, which is clearly not ideal.
The pystachio parser nominally uses {{&foo}} to escape {{foo}}, so I guess that parser must get applied at least 11 times between the CLI tool reading the file and the runner actually launching processes.
MustacheParser.split() has a keep_aliases parameter that tells it not to remove & characters in its output. Perhaps there is a way to enable that for all but the very last round of pystachio parsing?