Minor change after 21d790f87e

This commit is contained in:
oobabooga 2025-08-30 15:34:49 -07:00
parent 5920ad8834
commit 5631d4e3d6

View file

@ -261,7 +261,7 @@ function doSyntaxHighlighting() {
});
// Only render math in visible elements
const mathContainers = messageBody.querySelectorAll("p, div, span, li, td, th, h1, h2, h3, h4, h5, h6, blockquote, figcaption, caption, dd, dt");
const mathContainers = messageBody.querySelectorAll("p, span, li, td, th, h1, h2, h3, h4, h5, h6, blockquote, figcaption, caption, dd, dt");
mathContainers.forEach(container => {
if (isElementVisibleOnScreen(container)) {
renderMathInElement(container, {