Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
  • Loading branch information
vitaliy-guliy committed Jun 23, 2020
1 parent 5dfae96 commit 50402f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/plugin-ext/src/main/browser/webview/webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@ export class WebviewWidget extends BaseWidget implements StatefulWidget {
}

protected preprocessHtml(value: string): string {
console.log('--------------------------------------------------------------------------------------');
console.log(value);
console.log('--------------------------------------------------------------------------------------');
// Comment <meta http-equiv="Content-Security-Policy" /> tag in HEAD section
let html = value
.replace(/<\s*meta([^>]+?(?=Content-Security-Policy)[^>]+)\/?>/gsm, (_, group) => {
Expand Down

0 comments on commit 50402f5

Please sign in to comment.