prettier-plugin-ejs icon indicating copy to clipboard operation
prettier-plugin-ejs copied to clipboard

Issue with line breaking

Open ConorCorp opened this issue 7 months ago • 0 comments

Hey again,

Small issue I'm seeing with .ejs and htmx.

<div>
  <%- include(`${paths.common}/loading`, {className: "htmx-indicator self-center w-8 h-8 stroke-base-content", id: "login-indicator"}) %>
</div>

On save, this code line breaks in the middle of the className string, which breaks the html.

<div>
  <%- include(`${paths.common}/loading`, {className: "htmx-indicator 
self-center w-8 h-8 stroke-base-content", id: "login-indicator"}) %>
</div>

ConorCorp avatar Jul 12 '24 19:07 ConorCorp