Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerize default function doesn't work with single quotes. #167

Open
Saurabh-16 opened this issue Sep 21, 2021 · 0 comments
Open

dockerize default function doesn't work with single quotes. #167

Saurabh-16 opened this issue Sep 21, 2021 · 0 comments

Comments

@Saurabh-16
Copy link

Consider this example from this repo only.

default $var $default - Returns a default value for one that does not exist. {{ default .Env.VERSION "0.1.2" }}
Notice the double quotes around 0.1.2 . If I put these syntax in XML file , dockerize works but XML parsing using simple java library fails because of double quotes.

If dockerize allows default functionality to be honored in single quotes as well , both XML Parsing and dockerize will work and will be helpful in these kind of usecases.

default $var $default - Returns a default value for one that does not exist. {{ default .Env.VERSION '0.1.2' }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant