mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 02:49:08 +08:00
⬆️
This commit is contained in:
parent
5c024f23f4
commit
cd16c7c548
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
Highlight.js v11.11.1 (git: 08cb242e7d)
|
||||
Highlight.js v11.11.1 (git: 62f8a60a30)
|
||||
(c) 2006-2024 Josh Goebel <hello@joshgoebel.com> 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+'"')
|
||||
|
Loading…
Reference in New Issue
Block a user