mirror of
https://github.com/cline/cline.git
synced 2026-10-29 17:42:34 +08:00
feat: LaTeX formatting (#3242)
* initial * initial * restored package-lock.json * restored comment * One line * prettier * do not throw on error * escape backslashes in system notification * better prompt * reduce prompt size * prettier --------- Co-authored-by: canvrno <kevin@cline.bot>
This commit is contained in:
@@ -74,7 +74,7 @@ export async function showSystemNotification(options: NotificationOptions): Prom
|
||||
const escapedOptions = {
|
||||
...options,
|
||||
title: title.replace(/"/g, '\\"'),
|
||||
message: message.replace(/"/g, '\\"'),
|
||||
message: message.replace(/\\/g, "\\\\").replace(/"/g, '\\"'),
|
||||
subtitle: options.subtitle?.replace(/"/g, '\\"') || "",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user