NiklasPor/prettier-plugin-go-template

Could not reformate attributes with " inside template

Opened this issue · 0 comments

pftg commented

Code like srcset="{{ delimit $srcset ", " }}" is formatting into:

          srcset="{{ delimit $srcset " ,
      " }}"

But I'd expect: srcset="{{ delimit $srcset ", " }}" or for long lines, move to separate lines.