slomkowski / nginx-config-formatter

nginx config file formatter/beautifier written in Python with no additional dependencies.
Apache License 2.0
380 stars 64 forks source link

No need special treatment for variable `${aaa}` #21

Closed RickieL closed 1 year ago

RickieL commented 4 years ago

No need special treatment for variable ${} , because any expression with "{" should be enclosed in single or double quotes.

So, we just need to substitute { and } in single or double quotes.

slomkowski commented 3 years ago

Can you verify that the current version (1.2.2) works OK?