From 5eaef9c2808cccda3f1741bfba94edc2219fadc9 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Tue, 15 Nov 2022 18:29:38 +0800 Subject: [PATCH] Fix MathML example `allowScriptedContent` is required for MathJax to run --- examples/mathml.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/mathml.html b/examples/mathml.html index 0daaa2f..a34269b 100644 --- a/examples/mathml.html +++ b/examples/mathml.html @@ -28,7 +28,8 @@ var rendition = book.renderTo("viewer", { width: "100%", height: 600, - spread: "always" + spread: "always", + allowScriptedContent: true }); rendition.display(currentSectionIndex);