mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
Minor change after 21d790f87e
This commit is contained in:
parent
5920ad8834
commit
5631d4e3d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue