zet-lib 1.2.49 → 1.2.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/moduleLib.js +1 -1
- package/package.json +1 -1
package/lib/moduleLib.js
CHANGED
|
@@ -448,7 +448,7 @@ m.highlight = (req, res, elem) => {
|
|
|
448
448
|
let head = res.locals.moduleHead
|
|
449
449
|
let end = res.locals.moduleEnd
|
|
450
450
|
if (head.indexOf('highlight') < 0) {
|
|
451
|
-
head += '<link rel="stylesheet" href="/modules/highlight/
|
|
451
|
+
head += '<link rel="stylesheet" href="/modules/highlight/default.min.css"> ' + newLine
|
|
452
452
|
end += '<script src="/modules/highlight/highlight.min.js"></script>' + newLine
|
|
453
453
|
}
|
|
454
454
|
end += '<script>$(function(){ document.querySelectorAll("' + elem + '").forEach((block) => {hljs.highlightBlock(block);}); })</script>' + newLine
|