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
Description of problem
Most of the
data-include*attributes are cleaned up, butdata-onincludeis 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-onincludeattribute remains after processingExpected behavior (e.g., it shouldn't crash):
The
data-onincludeattribute is not present after processingProposed fix
Add
data-onincludeto the list at https://github.com/speced/respec/blob/34852087ca15a8a5e0309d1f5a372b12839c1e2c/src/core/data-include.js#L69-73