Skip to content

Update beautify-html.d.ts wrap_attributes documentation #91

@IxquitilisSaid

Description

@IxquitilisSaid

The preserve and preserve-aligned values for the wrap_attributes property are missing from the comment/description block above it.

Currently:

   /**
     * wrap each attribute except first ('force')
     * wrap each attribute except first and align ('force-aligned')
     * wrap each attribute ('force-expand-multiline')
     * multiple attributes are allowed per line, attributes that wrap will align vertically ('aligned-multiple')
     * wrap only when line length is reached ('auto')
     *
     * default auto
     */
    wrap_attributes?: 'auto' | 'force' | 'force-expand-multiline' | 'force-aligned' | 'aligned-multiple' | 'preserve' | 'preserve-aligned';

I know it's kind of nitpicky but I stumbled upon it on accident.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions