fix: templater allow unquoted arguments to types

This commit is contained in:
Price Hiller 2023-09-15 17:07:53 -05:00
parent 1bc1e3d3ed
commit e01eff5fd2
No known key found for this signature in database

View File

@ -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}]}"