From 7fb1406e15cc378fdfb1054b3460b568f1fe8a26 Mon Sep 17 00:00:00 2001 From: celeste Date: Tue, 18 Apr 2023 16:59:40 -0400 Subject: [PATCH] escape open brackets --- main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.ts b/main.ts index 97da0b2..a5c2f9b 100644 --- a/main.ts +++ b/main.ts @@ -1048,7 +1048,9 @@ export default class LoomPlugin extends Plugin { prompt = prompt.replace(/\s+$/, ""); // replace "\<" with "<", because obsidian tries to render html tags + // and "\[" with "[" prompt = prompt.replace(/\\