prettier-plugin-ejs
prettier-plugin-ejs copied to clipboard
Issue with line breaking
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>