Ship CSRF-drift + markdown fixes to production #25

Merged
jared merged 5 commits from development into main 2026-07-15 16:54:01 -04:00
Showing only changes of commit 5dea47cd01 - Show all commits
+2 -1
View File
@@ -321,9 +321,10 @@ function buildTable(rows) {
// Apply markdown rendering to all elements with data-markdown attribute
function renderMarkdownElements() {
document.querySelectorAll('[data-markdown]').forEach(element => {
document.querySelectorAll('[data-markdown]:not([data-rendered])').forEach(element => {
const markdownText = element.getAttribute('data-markdown') || element.textContent;
element.innerHTML = parseMarkdown(markdownText);
element.dataset.rendered = '1';
});
}