fix: remove duplicate safeHighlight declaration in utils.js

- Caused 'Identifier already declared' error — app won't load
- Original safeHighlight at line 250 (initEditor scope), duplicate removed
This commit is contained in:
2026-07-25 10:35:18 -04:00
parent 5426022273
commit cdaea4142b
-4
View File
@@ -650,10 +650,6 @@ function initEditor() {
);
}
function safeHighlight(block) {
try { hljs.highlightElement(block); } catch (e) { /* skip */ }
}
/** Copy text to clipboard — works on both HTTP and HTTPS */
function copyToClipboard(text) {
// Try modern API first (HTTPS-only)