You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use TextTransform with an nginx.conf file.
The file contains braces {, and if I run the cake task with transformation I get the following error:
Error: Input string was not in a correct format.
I can escape the brace using a double character ({{), but then the output contains the same sequence ({{) instead of what I need ({).
I've found this closed issue: #380 but I think that it doesn't work in my case because of closing braces.
Example (working):
var text = TransformText("{").ToString();
Example (not working, throws the mentioned error):
var text = TransformText("{something}").ToString();
The text was updated successfully, but these errors were encountered:
I'm trying to use TextTransform with an
nginx.conf
file.The file contains braces
{
, and if I run the cake task with transformation I get the following error:Error: Input string was not in a correct format.
I can escape the brace using a double character (
{{
), but then the output contains the same sequence ({{
) instead of what I need ({
).I've found this closed issue: #380 but I think that it doesn't work in my case because of closing braces.
Example (working):
var text = TransformText("{").ToString();
Example (not working, throws the mentioned error):
var text = TransformText("{something}").ToString();
The text was updated successfully, but these errors were encountered: