You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes Ace fails with the following stack trace:
Error when running HTML checks: Error: Evaluation failed: ReferenceError: HTML5Outline is not defined
at Object.ace.getHTMLOutline (/Users/Me/.config/yarn/global/node_modules/ace-core/dist/scripts/ace-extraction.js:126:3)
at Object.ace.createReport (/Users/Me/.config/yarn/global/node_modules/ace-core/dist/scripts/ace-extraction.js:13:30)
at /Users/Me/.config/yarn/global/node_modules/ace-core/dist/scripts/ace-axe.js:112:17
at d (/Users/Me/.config/yarn/global/node_modules/axe-core/axe.min.js:12:26128)
This was reported by @amesga and I could reproduce. To be investigated.
The text was updated successfully, but these errors were encountered:
The issue comes from errors in the bundled JS that prevent Ace-injected scripts to run. We should mitigate that by at least showing a warning, and if possible retry a second time with all the scripts disabled.
EPUB scripts based on RequireJS were conflicting with the injected
HTML5 outliner library (h5o), and caused an unexpected error.
("HTML5Outline is not defined").
This fix wraps h5o in a function that undefines any global `define`
function, to prevent this conflict.
Fixes#108
EPUB scripts based on RequireJS were conflicting with the injected
HTML5 outliner library (h5o), and caused an unexpected error.
("HTML5Outline is not defined").
This fix wraps h5o in a function that undefines any global `define`
function, to prevent this conflict.
Fixes#108
Sometimes Ace fails with the following stack trace:
This was reported by @amesga and I could reproduce. To be investigated.
The text was updated successfully, but these errors were encountered: