hexo-theme-particlex 2.6.9 → 2.6.10

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.6.9",
3
+ "version": "2.6.10",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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.innerText;
16
+ let code = i.textContent;
17
17
  let language = [...i.classList, ...i.firstChild.classList][0] || "plaintext";
18
18
  let highlighted;
19
19
  try {