hexo-theme-particlex 2.6.9 → 2.6.10
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/package.json
CHANGED
|
@@ -13,7 +13,7 @@ mixins.highlight = {
|
|
|
13
13
|
highlight() {
|
|
14
14
|
let codes = document.querySelectorAll("pre");
|
|
15
15
|
for (let i of codes) {
|
|
16
|
-
let code = i.
|
|
16
|
+
let code = i.textContent;
|
|
17
17
|
let language = [...i.classList, ...i.firstChild.classList][0] || "plaintext";
|
|
18
18
|
let highlighted;
|
|
19
19
|
try {
|