This commit is contained in:
Andrew Pareles 2025-01-09 18:15:51 -08:00
parent a1da8bd12f
commit 7e68a485f2

View file

@ -61,8 +61,6 @@ export const extractCodeFromRegular = (result: string) => {
// 1. ```language\n<code>```
// 2. ```<code>```
// 4 <PRE> A
// 3. <PRE> A </PRE><MID> B </MID> -> B
const match = result.match(/```(?:\w+\n)?([\s\S]*?)```|```([\s\S]*?)```/);
if (!match) {