Skip to content

[bug]: dom nest parsing issues #76

Closed
@jsonz1993

Description

@jsonz1993

Hello, I find a few parsing issues in version: 0.16.4

input:

<button >
  Hello <input type="file" ng-hide="true" />PostHtml
</button>
const output = posthtml().process(input, { sync: true })

output:

<button>
  Hello </button><input type="file" ng-hide="true">PostHtml

expect

<button >
  Hello <input type="file" ng-hide="true" />PostHtml
</button>

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions