Skip to content

Commit ded9374

Browse files
committed
πŸ“ƒ docs: Update Version and Change log
1 parent 42aeb6d commit ded9374

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to the "markdown-image" extension will be documented in this file.
33

4+
## [1.1.48] - 2025-02-11
5+
6+
### Fixed
7+
- Fixed transparent background turning black when copy png Image on paste.
8+
49
## [1.1.47] - 2025-02-08
510

611
### Fixed

β€Žasserts/pc.ps1β€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
param($imagePath)
22

33
# Adapted from https://github.com/octan3/img-clipboard-dump/blob/master/dump-clipboard-png.ps1
4-
chcp 65001
4+
chcp 65001 | Out-Null
55

66
Add-Type -Assembly PresentationCore
77

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "markdown-image",
33
"displayName": "Markdown Image",
44
"description": "Easy to insert a image to markdown",
5-
"version": "1.1.47",
5+
"version": "1.1.48",
66
"publisher": "hancel",
77
"engines": {
88
"vscode": "^1.62.0"

β€Žsrc/lib/utils.tsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,12 +312,13 @@ function getPasteImage (imagePath: string): Promise<string[]> {
312312
// console.debug('exit', code, signal);
313313
});
314314
powershell.stdout.on('data', (data) => {
315-
data.toString().split('\n').forEach(d => output += (d.indexOf('Active code page:') < 0 ? d + '\n' : ''));
315+
output += data.toString();
316316
clearTimeout(timer);
317317
timer = setTimeout(() => powershell.kill(), 2000);
318318
});
319319
powershell.on('close', (code) => {
320320
resolve(output.trim().split('\n').map(i => i.trim()));
321+
clearTimeout(timer);
321322
});
322323
}
323324
else if (platform === 'darwin') {

0 commit comments

Comments
Β (0)