Skip to content

Commit

Permalink
Fix MathML example
Browse files Browse the repository at this point in the history
`allowScriptedContent` is required for MathJax to run
  • Loading branch information
johnfactotum authored Nov 15, 2022
1 parent 0963efe commit 5eaef9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/mathml.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
var rendition = book.renderTo("viewer", {
width: "100%",
height: 600,
spread: "always"
spread: "always",
allowScriptedContent: true
});

rendition.display(currentSectionIndex);
Expand Down

0 comments on commit 5eaef9c

Please sign in to comment.