Skip to content

Commit 5eaef9c

Browse files
authored
Fix MathML example
`allowScriptedContent` is required for MathJax to run
1 parent 0963efe commit 5eaef9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/mathml.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
var rendition = book.renderTo("viewer", {
2929
width: "100%",
3030
height: 600,
31-
spread: "always"
31+
spread: "always",
32+
allowScriptedContent: true
3233
});
3334

3435
rendition.display(currentSectionIndex);

0 commit comments

Comments
 (0)