Prettier 1.15.2
Playground link
Input:
<pre><code #foo></code></pre>
Output:
<pre><code #foo></code>></pre>
Expected behavior:
Prettier should not add an extra closing angle bracket after </code>
EDIT: changed example to use <code> instead of <p>. This is how I originally found the bug, not sure why I thought it would be better to replace <code> with <p>...
Prettier 1.15.2
Playground link
Input:
Output:
Expected behavior:
Prettier should not add an extra closing angle bracket after
</code>EDIT: changed example to use
<code>instead of<p>. This is how I originally found the bug, not sure why I thought it would be better to replace<code>with<p>...