w3c / encrypted-media

Encrypted Media Extensions
https://w3c.github.io/encrypted-media/
Other
180 stars 80 forks source link

ReSpec processing fails with uncaught exception #428

Closed ddorwin closed 7 years ago

ddorwin commented 7 years ago

Loading https://w3c.github.io/encrypted-media/encrypted-media-respec.html results in the following:

Uncaught (in promise) Error: Syntax error, unrecognized expression: [id='w3c-editor's-draft-12-july-2017']
    at Function.t.error (pubsubhub.js:52)
    at t.tokenize (pubsubhub.js:52)
    at t.select (pubsubhub.js:52)
    at Function.t [as find] (pubsubhub.js:52)
    at fe.fn.init.find (pubsubhub.js:52)
    at fe.fn.init (pubsubhub.js:52)
    at fe (pubsubhub.js:52)
    at HTMLHeadingElement.<anonymous> (encrypted-media.js:572)
    at Function.each (pubsubhub.js:52)
    at fe.fn.init.each (pubsubhub.js:52)

It is no longer possible to view the generated output.

plehegar commented 7 years ago

Some of the ids have ' and " and made the jquery expression broken. Fixed by escaping those.