This commit is contained in:
Aetherinox
2025-03-01 12:40:50 +00:00
parent f513e2a478
commit d908ab80bb
16 changed files with 46 additions and 51 deletions

View File

@@ -246,13 +246,8 @@ function decryptor_reaction(key_or_keys, password_input, decrypted_content, fall
el.remove();
}
}
// any post processing on the decrypted content should be done here
if (typeof MathJax === 'object') { MathJax.typesetPromise();};
decrypted_content.querySelectorAll('pre code').forEach((block) => {
hljs.highlightElement(block);
});
document$.next(document);
if (typeof theme_run_after_decryption !== 'undefined') {
theme_run_after_decryption();