nginx-formatter icon indicating copy to clipboard operation
nginx-formatter copied to clipboard

The escape character will be lost

Open ivyswen opened this issue 1 year ago • 0 comments

I executed . /nginx-formatter in the config file directory

        if ($http_user_agent ~ (Edg|Sogou\ web|Semrushbot|Scrapy|Curl)) {
            return 403; }
            }

After formatting it will become

    if ($http_user_agent ~ (Edg|Sogou web|Semrushbot|Scrapy|Curl)) {
      return 403; }
    }

ivyswen avatar Jul 20 '23 00:07 ivyswen