Skip to content

Commit 7c4b7f3

Browse files
authored
Merge pull request #291 from pjotrsavitski/patch-1
Fixed an issue with a code example
2 parents 1093268 + b9bdaf5 commit 7c4b7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/typeset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ DOM modifications and returns the array of elements to typeset, or
9494
typeset(() => {
9595
const math = document.querySelector('#math');
9696
math.innerHTML = '$$\\frac{a}{1-a^2}$$';
97-
return math;
97+
return [math];
9898
});
9999
100100
would replace the contents of the element with ``id="math"`` with the

0 commit comments

Comments
 (0)