Update highlight.js to 11.7.0

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2023-02-21 12:55:24 +05:30
parent 9eadd3b9c5
commit a4efb8c358
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -19,7 +19,7 @@
document.getElementById('pastecontent').innerHTML = marked.parse(`{{paste_content}}`);
</script>
{% else %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", (event) => {
const elem = document.getElementById("pastecontent");