diff --git a/apps/client/src/services/note_tooltip.ts b/apps/client/src/services/note_tooltip.ts index 55982e644..80ec7caae 100644 --- a/apps/client/src/services/note_tooltip.ts +++ b/apps/client/src/services/note_tooltip.ts @@ -185,7 +185,7 @@ function renderFootnote($link: JQuery, url: string) { /* Handling in-line math formulas */ $footnoteContent.find('.ck-math-tex.ck-math-tex-inline.ck-widget').each(function () { - const $katex = $(this).find('.katex, .katex-display').first(); + const $katex = $(this).find('.katex').first(); if ($katex.length) { $(this).replaceWith($('').append($('').append($katex.clone()))); }