Repository navigation
Commit 9202dd9
committed
Escape website title in webview HTML
- HTML-escape title before inserting it into <title>.
├── apps
│ └── editor
│ ├── package.json
│ └── src
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-open-website.ts
│ │ │ ├── handle-paste-url.ts
│ │ │ └── index.ts
│ │ ├── prompt-view-provider.ts
│ │ └── utils
│ │ ├── persistent-text-storage.ts
│ │ ├── symbols
│ │ │ ├── replace-symbols.ts
│ │ │ └── website
│ │ │ └── replace-website-symbol.ts
│ │ └── website-fetcher.ts
│ ├── frontend
│ │ ├── Main
│ │ │ ├── Main.tsx
│ │ │ └── MainView
│ │ │ └── MainView.tsx
│ │ └── Prompt.tsx
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── common
└── prompts
└── PromptField
├── PromptField.tsx
└── hooks
└── use-handlers
└── handle-input-click.ts1 parent 975550a commit 9202dd9
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
105 | | - | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
0 commit comments