Skip to content

Commit

Permalink
Fix meta tags (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
caponetto authored Aug 21, 2021
1 parent c2f8414 commit 1337383
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1.11
Fix meta tags

# 1.1.10
Decode the file content properly

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-diff-viewer",
"displayName": "Diff Viewer",
"description": "Visualize git diff files in VS Code",
"version": "1.1.10",
"version": "1.1.11",
"license": "MIT",
"publisher": "caponetto",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffViewerProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class DiffViewerProvider implements vscode.CustomReadonlyEditorProvider<D
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'; worker-src * data: 'unsafe-inline' 'unsafe-eval'; font-src * 'unsafe-inline' 'unsafe-eval';">
<link href="${resetCssUri}" rel="stylesheet" />
<link href="${appCssUri}" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/github.min.css" />
Expand Down

0 comments on commit 1337383

Please sign in to comment.