Skip to content

Prettier formats the Python code inside <app-file> mistakingly #1549

@whitphx

Description

@whitphx

because texts in normal tags are considered as normal html text that doesn't care line breaks.

It's related to --html-whitespace-sensitivity option.
https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions