User templates only expand variables with braces
Relates to #63 (closed)
There's a bug in expand_template_variables
where the length passed to g_strndup
is off by 1 when brackets == FALSE
. For example $HOME
is evaluated as HOM
.
Fix incoming.