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
<h3>What's the problem?</h3><div><imgsrc="./../gfx/someImage.jpg" /></div>
The same effect happens using data-external-replace and an included file like this (with a trailing line break, that somewhat is cut by github):
<section><h3>What's the problem?</h3><div><imgsrc="./../gfx/someImage.jpg" /></div></section>
The full stack trace looks like this
Uncaught TypeError: container.querySelectorAll is not a function
convertAttributes [...]/node_modules/reveal_external/external/external.js:72
convertUrls [...]/node_modules/reveal_external/external/external.js:89
onreadystatechange [...]/node_modules/reveal_external/external/external.js:123
updateSection [...]/node_modules/reveal_external/external/external.js:155
loadExternal [...]/node_modules/reveal_external/external/external.js:188
<anonymous> [...]/node_modules/reveal_external/external/external.js:194
<anonymous> [...]/node_modules/reveal_external/external/external.js:195
I checked the code and it seems the issue is caused by text-nodes being passed to convertUrls(). A quick fix would be to change line 122 to the following:
I get the above error when I try to run the plugin even with a minimal setup like this
index.htm
slides/01-motivation.htm
The same effect happens using
data-external-replace
and an included file like this (with a trailing line break, that somewhat is cut by github):The full stack trace looks like this
I checked the code and it seems the issue is caused by text-nodes being passed to
convertUrls()
. A quick fix would be to change line 122 to the following:The text was updated successfully, but these errors were encountered: