Prettier 1.14.2
Playground link
Input:
const comp = () => (
<p>
<a href="https://example.com" style={{ color: "inherit", fontWeight: 600 }}>
link
</a>.
<br />
</p>
);
Output:
const comp = () => (
<p>
<a href="https://example.com" style={{ color: "inherit", fontWeight: 600 }}>
link
</a>
.<br />
</p>
);
Expected behavior:
For the output to match the input. (. after </a>, not before <br />)
Prettier 1.14.2
Playground link
Input:
Output:
Expected behavior:
For the output to match the input. (
.after</a>, not before<br />)