fix: don't center qed symbol

This commit is contained in:
Barrett Ruth 2025-10-10 10:24:24 -04:00
parent 71619db6c1
commit b6c972f9d2

View file

@ -3,7 +3,8 @@ document.addEventListener("DOMContentLoaded", function () {
katexParagraphs.forEach((p) => {
const katexSpan = p.querySelector(".katex");
if (!katexSpan) return;
if (!katexSpan || katexSpan.textContent.indexOf("\\blacksquare") != -1)
return;
const clone = p.cloneNode(true);
clone.querySelector(".katex").remove();