Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid characters #58

Open
jvblackburn opened this issue Jan 21, 2021 · 2 comments
Open

Invalid characters #58

jvblackburn opened this issue Jan 21, 2021 · 2 comments

Comments

@jvblackburn
Copy link

I downloaded the chart example from h5p.org: https://h5p.org/chart. When I look at the file on h5p.org on Safari, it renders fine. When I test it the same file using the plugin on safari, I get some errors. The errors are below. I also notice that the imported scripts in the iframe are different using the plugin than what h5p.org uses to render the same .h5p file.

[Error] SyntaxError: Invalid character '\u20ac'
(anonymous function) (d3.js:1225)
[Error] ReferenceError: Can't find variable: d3
PieChart (pie.js:15)
(anonymous function) (chart.js:109)
(anonymous function) (frame.bundle.js:3:111288)
(anonymous function) (frame.bundle.js:3:101971)
each (frame.bundle.js:3:5478)
each (frame.bundle.js:3:2260)
(anonymous function) (frame.bundle.js:3:101012)
(anonymous function) (frame.bundle.js:3:130448)
u (frame.bundle.js:3:7900)
fireWith (frame.bundle.js:3:8695)
ready (frame.bundle.js:3:3522)
O (frame.bundle.js:3:781)

@0xMurage
Copy link
Collaborator

Hi @jvblackburn, did you find the root of your problem?

@jvblackburn
Copy link
Author

jvblackburn commented May 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants