Skip to content

Commit f727a26

Browse files
chore: linter fixes
1 parent 2237ae2 commit f727a26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/viewer/src/mathml.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ export async function renderMathML(properties: Properties, root: HTMLElement): P
7979

8080
// Fixed to get all possible math elements, including namespaced ones.
8181
const allMathElements = [
82-
...root.getElementsByTagName("math"), // Standard <math>
83-
...root.getElementsByTagNameNS("*", "math"), // Any valid namespaced math
84-
...root.querySelectorAll("m\\:math"), // CSS: <m:math> (literal colon)
85-
...root.querySelectorAll("mml\\:math"), // CSS: <mml:math> (literal colon)
82+
...root.getElementsByTagName("math"), // Standard <math>
83+
...root.getElementsByTagNameNS("*", "math"), // Any valid namespaced math
84+
...root.querySelectorAll("m\\:math"), // CSS: <m:math> (literal colon)
85+
...root.querySelectorAll("mml\\:math"), // CSS: <mml:math> (literal colon)
8686
];
8787

8888
for (const mathElement of allMathElements) {

0 commit comments

Comments
 (0)