Open joesiltberg opened 2 years ago
When we expand variables in the templates these should perhaps be escaped? But that would technically break backwards compatibility.
Could there be situations where we don't want to escape?
Should we add a separate way of expanding a variable (so we have expansion with and without escaping)?
Also consider ' and perhaps other special characters.
The tab character should also be considered. A tab cannot be included in a JSON string so must be replaced by \t if we expand a variable in a string.
When we expand variables in the templates these should perhaps be escaped? But that would technically break backwards compatibility.
Could there be situations where we don't want to escape?
Should we add a separate way of expanding a variable (so we have expansion with and without escaping)?
Also consider ' and perhaps other special characters.