Skip to content

Vue Formatting Question #5385

@dtrinh100

Description

@dtrinh100

Prettier 1.15.1
Playground link

--parser vue

Input:

  <div class="container">
    <HomeH />
    <HomeA />
    <HomeX />
    <HomeY />
  </div>

Output:

<div class="container"><HomeH /> <HomeA /> <HomeX /> <HomeY /></div>

Expected behavior:
I am not sure if this was intended, but I was expecting the formatting to keep the original input rather than putting them all in a single line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:htmlIssues affecting HTML (and SVG but not JSX)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions