Skip to content

Commit

Permalink
Merge pull request #273 from PDConSec:bug/272
Browse files Browse the repository at this point in the history
Bug/272
  • Loading branch information
PeterWone authored Oct 1, 2023
2 parents bf3b099 + f7066c7 commit 0bc8e0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

### 0.11.17

- #272 bugfix

### 0.11.16

- Line breaking bugfix
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-print",
"displayName": "Print",
"description": "Rendered Markdown, coloured code.",
"version": "0.11.16",
"version": "0.11.17",
"icon": "assets/vscode-print-128.png",
"author": {
"name": "Peter Wone",
Expand Down
2 changes: 2 additions & 0 deletions src/html-document-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class HtmlDocumentBuilder {
.replace(/VSCODE_PRINT_DOCUMENT_(?:TITLE|HEADING)/g, "<h2>Selected files</h2>")
.replace("VSCODE_PRINT_PRINT_AND_CLOSE", printConfig.printAndClose)
.replace("VSCODE_PRINT_CONTENT", () => `${summary}\n${composite}`) // replacer fn suppresses interpretation of $
.replace("VSCODE_PRINT_SCRIPT_TAGS", "")
.replace("VSCODE_PRINT_STYLESHEET_LINKS",
'<link href="bundled/default.css" rel="stylesheet" />\n' +
'\t<link href="bundled/line-numbers.css" rel="stylesheet" />\n' +
Expand Down Expand Up @@ -88,6 +89,7 @@ export class HtmlDocumentBuilder {
.replace(/VSCODE_PRINT_DOCUMENT_HEADING/g, `<h2>Folder ${this.workspacePath(this.uri)}</h2>`)
.replace("VSCODE_PRINT_PRINT_AND_CLOSE", printConfig.printAndClose)
.replace("VSCODE_PRINT_CONTENT", () => `${summary}\n${composite}`) // replacer fn suppresses interpretation of $
.replace("VSCODE_PRINT_SCRIPT_TAGS", "")
.replace("VSCODE_PRINT_STYLESHEET_LINKS",
'<link href="bundled/default.css" rel="stylesheet" />\n' +
'\t<link href="bundled/line-numbers.css" rel="stylesheet" />\n' +
Expand Down

0 comments on commit 0bc8e0b

Please sign in to comment.