fix: templater allow unquoted arguments to types
This commit is contained in:
parent
1bc1e3d3ed
commit
e01eff5fd2
@ -275,7 +275,7 @@ parse_template_extracted() {
|
|||||||
var_type="$(echo "${var_type^^}")"
|
var_type="$(echo "${var_type^^}")"
|
||||||
|
|
||||||
local var_arg
|
local var_arg
|
||||||
var_arg="$(trim "$(echo "${tmpl_extracted}" | cut -d "=" -f2)")"
|
var_arg="$(trim "$(echo "${tmpl_extracted}" | cut -d "=" -f 2-)")"
|
||||||
|
|
||||||
local handler_to_use
|
local handler_to_use
|
||||||
handler_to_use="${template_handlers[${var_type}]}"
|
handler_to_use="${template_handlers[${var_type}]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user