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

Line break when line contains backslash #5

Closed kum1ko closed 7 years ago

kum1ko commented 7 years ago

eg.

location ~ /\.ht {
deny all;
}

after formatted will look like this

**location ~ / \ .ht { deny all;

}**

vasilevich commented 7 years ago

Hey , it seems to not happen at my nodejs port, maybe 1connect can use my repository to figure out why. please try it here. I don't know python hope JS can be of help here.

slomkowski commented 7 years ago

@kum1ko seems to be fixed now.

kum1ko commented 7 years ago

Thanks @slomkowski