Skip to content

Commit

Permalink
Update mermaid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobako authored May 12, 2024
1 parent b52fc72 commit 3e50dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mermaid.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
const mapped = grist.mapColumnNames(record);
console.log("mapped", mapped);
const mermaid_el_id = 'mermaid';
document.getElementById(mermaid_el_id).innerHTML = `<pre class="mermaid">${mapped.mermaid}</pre>;
document.getElementById(mermaid_el_id).innerHTML = `<pre class='mermaid'>${mapped.mermaid}</pre>`;
mermaid.initialize();
});
</script>
Expand Down

0 comments on commit 3e50dc8

Please sign in to comment.