Skip to content

Self-closing tags prevent following nodes from being formatted #3702

@azz

Description

@azz

Prettier 1.10.1
Playground link

--parser vue

Input:

<template>
  <div />
</template>

<script>
foo( )
</script>

Output:

<template>
  <div />
</template>

<script>
foo( )
</script>

Related to #3692

cc. @vjeux do you want to take a look at this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:vueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions