Events extraction: crawler confused by info panels in "fire an event" phrasings #1268
Closed
Description
Bikeshed now creates aside panels next to event names. These aside panels are inserted without whitespaces.
The code that extracts such event definitions in Reffy uses a Range
that then gets converted to a string and parsed with a regular expression. This makes Reffy append an Info
text to the event.
Note the node cannot simply be cloned to remove asides because createRange
requires nodes to be attached to the document. We can probably just temporarily attach the cloned node to the document to work around that limitation.
The Compat spec triggers the issue, and currently blocks data curation in Webref, see w3c/webref@962084e#diff-c979d3426024c90a4acc3188c8f639e75116b459847995d1bbd26c80219be3f3
Metadata
Assignees
Labels
No labels