Skip to content

Unexpected HTML for <pre> tag after prettier #10950

@Gregoor

Description

@Gregoor

Prettier 2.3.0
Playground link

--parser html

Input:

<pre>a
 </pre>

Output:

<pre>
a
 </pre
>

Expected behavior:

<pre>
a
 </pre>

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions