Skip to content

data-oninclude attribute is not cleaned up #5072

@nigelmegitt

Description

@nigelmegitt

Description of problem

Most of the data-include* attributes are cleaned up, but data-oninclude is not.

URL to affected spec or repo:

w3c/dapt#326 shows this behaviour.

Source code that needs fixing: https://github.com/speced/respec/blob/34852087ca15a8a5e0309d1f5a372b12839c1e2c/src/core/data-include.js#L69-73

What happened (e.g., it crashed)?:

The data-oninclude attribute remains after processing

Expected behavior (e.g., it shouldn't crash):

The data-oninclude attribute is not present after processing

Proposed fix

Add data-oninclude to the list at https://github.com/speced/respec/blob/34852087ca15a8a5e0309d1f5a372b12839c1e2c/src/core/data-include.js#L69-73

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions