create entries without white characters

This commit is contained in:
ReznoRMichael 2021-07-03 14:43:46 +02:00
commit e1ab36f65d
4 changed files with 18 additions and 18 deletions

View file

@ -1449,8 +1449,8 @@ function InitialHTMLPopulate(sections) {
// if (localStorage.getItem("hkCheckboxSpoilers") === "checked") document.getElementById("checkbox-spoilers").checked = true;
// Prevents wrong checkbox behaviour (must run after everything is finished)
/* CheckboxHintsToggle();
CheckboxSpoilersToggle(); */
CheckboxHintsToggle();
CheckboxSpoilersToggle();
}
/**

View file

@ -330,18 +330,18 @@ function SingleEntryFill(section, entry) {
}
return `
<div class="single-entry">
${icon}
${b[0]}${textPrefix}${b[1]}
${span[0]}
${p}
${spoiler[0]}
${textSuffix}
${spoiler[1]}
${span[1]}
</div>
`;
return [
"<div class='single-entry'>",
icon,
`${b[0]}${textPrefix}${b[1]}`,
span[0],
p,
spoiler[0],
textSuffix,
spoiler[1],
span[1],
"</div>"
].join("");
}