Skip to content

Formatter | HTML[style] | Inserts space before angled bracket #30991

@m-dressler

Description

@m-dressler

Version: Deno 2.5.4

When formatting HTML with deno, it adds a space in front of open brackets [

<div style="animation-name: animation-[value]" />

into

<div style="animation-name: animation- [value]" />

Prettier, in my opinion correctly, does NOT add a space in front of [.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlydeno fmtRelated to the "deno fmt" subcommand or dprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions