From cd16c7c5488d6ec110f2027eefc01bdf23f5d8a8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 28 Dec 2024 12:33:20 +0800 Subject: [PATCH] :arrow_up: --- app/stage/protyle/js/highlight.js/highlight.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/stage/protyle/js/highlight.js/highlight.min.js b/app/stage/protyle/js/highlight.js/highlight.min.js index dc19d7be025..e3118ebf18f 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 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||"")+'"') ;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+'"')