You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's not much you can do, you can either remove the double quote from your template: {{ .Key }}={{ .Value }}
or maybe use something like: {{ .Key }}="{{ .Value | js }}"
to escape double quote in the value.
To test whether the value contains quotes, you need other functions... Infisical could add a third party library like this : https://masterminds.github.io/sprig/ to help.
Feature description
Using the following template:
When
{{ .Value }}
contains double quotes, it would generate invalid combinations, for example:It would be great if the template could handle this situation.
Why would it be useful?
It won't require user to manually escape them, creating a surprise.
The text was updated successfully, but these errors were encountered: