Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:arrow_up:

Vanessacd16c7c5488d
diff --git a/app/stage/protyle/js/highlight.js/highlight.min.js b/app/stage/protyle/js/highlight.js/highlight.min.js
index dc19d7be02..e3118ebf18 100644
--- a/app/stage/protyle/js/highlight.js/highlight.min.js
+++ b/app/stage/protyle/js/highlight.js/highlight.min.js
@@ -1,5 +1,5 @@
/*!
- Highlight.js v11.11.1 (git: 08cb242e7d)
+ Highlight.js v11.11.1 (git: 62f8a60a30)
(c) 2006-2024 Josh Goebel <[email protected]> and other contributors
License: BSD-3-Clause
*/
@@ -233,7 +233,7 @@ d(),n.returnBegin||n.excludeBegin||(y=a)),u(n,e),n.returnBegin?0:a.length})(i)
;if("illegal"===i.type&&!r){
const e=Error('Illegal lexeme "'+s+'" for mode "'+(I.scope||"<unnamed>")+'"')
;throw e.mode=I,e}if("end"===i.type){const e=S(i);if(e!==ee)return e}
-if("illegal"===i.type&&""===s)return y+="\n",1
+if("illegal"===i.type&&""===s)return i.index===a.length||(y+="\n"),1
;if(x>1e5&&x>3*i.index)throw Error("potential infinite loop, way more iterations than matches")
;return y+=s,s.length}const N=O(e)
;if(!N)throw H(s.replace("{}",e)),Error('Unknown language: "'+e+'"')