mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Fix MathML example
`allowScriptedContent` is required for MathJax to run
This commit is contained in:
parent
0963efe979
commit
5eaef9c280
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@
|
|||
var rendition = book.renderTo("viewer", {
|
||||
width: "100%",
|
||||
height: 600,
|
||||
spread: "always"
|
||||
spread: "always",
|
||||
allowScriptedContent: true
|
||||
});
|
||||
|
||||
rendition.display(currentSectionIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue