diff --git a/manifest.json b/manifest.json index d5df2a3..e9f8d8d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "quickadd", "name": "QuickAdd", - "version": "0.1.4", + "version": "0.1.5", "minAppVersion": "0.12.00", "description": "Quickly add new pages or content to your vault.", "author": "Christian B. B. Houmann", diff --git a/package.json b/package.json index b71e5da..7a89a8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "quickadd", - "version": "0.1.4", + "version": "0.1.5", "description": "Quickly add new pages or content to your vault.", "main": "main.js", "scripts": { diff --git a/src/formatters/captureChoiceFormatter.ts b/src/formatters/captureChoiceFormatter.ts index dfcdf6b..bed1e90 100644 --- a/src/formatters/captureChoiceFormatter.ts +++ b/src/formatters/captureChoiceFormatter.ts @@ -33,7 +33,7 @@ export class CaptureChoiceFormatter extends CompleteFormatter { const formatted = await super.formatFileContent(input); if (this.choice.prepend) - return `${this.fileContent}\n${input}` + return `${this.fileContent}\n${formatted}` if (this.choice.insertAfter.enabled) { const targetRegex = new RegExp(`\s*${this.choice.insertAfter.after}\s*`) diff --git a/versions.json b/versions.json index 23e4973..0f8ee38 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,3 @@ { - "0.1.4": "0.12.4" + "0.1.5": "0.12.4" }