Highlighting wasn't working on the content of a page. Took a look at console. Saw a bunch of the following errors:
Error in event handler: Error: Failed to execute 'querySelectorAll' on 'Document': '#3548247' is not a valid selector.
This is the page I noticed it at, for reference. The description at the top can be highlighted just fine, however, highlighting anything within the actual guide doesn't work.
Highlighting wasn't working on the content of a page. Took a look at console. Saw a bunch of the following errors:
Error in event handler: Error: Failed to execute 'querySelectorAll' on 'Document': '#3548247' is not a valid selector.
This is the page I noticed it at, for reference. The description at the top can be highlighted just fine, however, highlighting anything within the actual guide doesn't work.
The problem is in js/shared/utils.js, line 287. Googled a bit, it seems numerical IDs should be valid with HTML5, but require special handling when used with QuerySelector, as using the # selector with them causes them to not be valid CSS selectors... Perhaps
querySelectorAll(`#${node.id}`)
could be changed toquerySelectorAll(`id="${node.id}"`)
?