Skip to content

Script comment format error #83

@xiaomingplus

Description

@xiaomingplus

Before you submit an issue we recommend you drop into the Gitter community and ask any questions you have or mention any problems you've had getting started with prettyhtml.

🐛 Bug Report

Prettyhtml format comment add an intend every running format.

To Reproduce

Steps to reproduce the behavior:

Paste your markup here:

<script>
    /* test
    test */
</script>

Expected behavior

I think prettyhtml should do nothing with the comment,prettier also do nothing.

Paste the results here:

<script>
    /* test
    test */
</script>

Context

[
Vue

Your Environment

  • Prettyhtml version: 0.8.7
  • NodeJs version: 8.12
  • Environment name and version:
  • Operating System and version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions