Fixed forgetting ()

This commit is contained in:
Tracker-Friendly 2024-04-26 16:48:32 +01:00
parent cd223c6460
commit 0c316ceb10
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ function updateWordCount() {
}
function renderMarkDown() {
if markdowntoggle {
if (markdowntoggle) {
var targethtml = "<!DOCTYPE html><html><style>html { height: 100% } body { font-family: 'Inter', sans-serif; height: 100%; color: " + getComputedStyle(document.documentElement).getPropertyValue('--text-color') + "; font-size: " + currentFontSize + "px; }</style>" + marked.parse(noteBox.value) + "</html>";
markdown.srcdoc = targethtml
}