Skip to content

Commit

Permalink
Merge branch 'dev' into fix/codelens_workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alashchev17 authored Oct 16, 2024
2 parents 51abf0a + dd569de commit 753be09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"fetch-h2": "^3.0.2",
"json5": "^2.2.3",
"marked": "^4.0.8",
"refact-chat-js": "v2.0.1-alpha.7",
"refact-chat-js": "~v2.0.1-alpha.9",
"uuid": "^9.0.1",
"vscode-languageclient": "^7.0.0"
},
Expand Down
4 changes: 3 additions & 1 deletion src/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,9 @@ export class PanelWebview implements vscode.WebviewViewProvider {

const initialState = await this.createInitialState(chat_thread, tabbed);
let stringifiedInitialState = JSON.stringify(initialState);
stringifiedInitialState = stringifiedInitialState.replace("</script>", "</scr\"+\"ipt>");
stringifiedInitialState = stringifiedInitialState.replace(/\<\/script>/gi, "</scr\"+\"ipt>");



return `<!DOCTYPE html>
<html lang="en" class="light">
Expand Down

0 comments on commit 753be09

Please sign in to comment.