Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: pugSingleFileComponentIndentation does not work for templates starting with literal class or id #282

Closed
2 of 7 tasks
backbone87 opened this issue Aug 23, 2021 · 0 comments · Fixed by #283
Closed
2 of 7 tasks
Assignees
Labels
framework: Vue Related to the framework Vue type: bug Functionality that does not work as intended/expected

Comments

@backbone87
Copy link
Contributor

Plugin Version

master

Prettier Version

^2.3

Which frameworks are affected?

  • none
  • vue
  • angular
  • svelte

Node Version

14

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Prettier config

{

}

Input

#cls
  div
    p Lorem ipsum dolor sit amet, consectetur adipisici elit
  div
    div
      p Lorem ipsum dolor sit amet, consectetur adipisici elit

Output or Error

#cls
    div
      p Lorem ipsum dolor sit amet, consectetur adipisici elit
    div
      div
        p Lorem ipsum dolor sit amet, consectetur adipisici elit

Expected Output

#cls
    div
      p Lorem ipsum dolor sit amet, consectetur adipisici elit
    div
      div
        p Lorem ipsum dolor sit amet, consectetur adipisici elit

Additional Context

working on a PR

backbone87 added a commit to backbone87/plugin-pug that referenced this issue Aug 23, 2021
backbone87 added a commit to backbone87/plugin-pug that referenced this issue Aug 23, 2021
@Shinigami92 Shinigami92 added framework: Vue Related to the framework Vue type: bug Functionality that does not work as intended/expected labels Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework: Vue Related to the framework Vue type: bug Functionality that does not work as intended/expected
Projects
None yet
2 participants