Skip to content

Cannot use attribute open on <details> element after posthtml-beautify #85

@danielrob

Description

@danielrob

Problem

I'm using a parceljs setup with posthtml-expressions & posthtml-beautify. I'm unable to provide the html attribute open to the details html element if posthtml-expressions is run after posthtml-beautify.

Sandbox

link

git clone git@github.com:danielrob/posthtml-expressions-bug-repro.git
cd posthtml-expressions-bug-repro
npm install -g parcel-bundler
npm start

Error

gist

Environment

Please provide information about your environment.

OS Node npm PostHTML
[OSX][10.15.4] [11.9.0] [6.5.0] [0.13.0]

Workaround

Run posthtml-beautify after posthtml-expressions (move it after in .posthtmlrc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions