#493 - fix issue with custom placeholders

This commit is contained in:
Elio Struyf
2023-01-24 10:44:16 +01:00
parent 5dec859849
commit e19b4d7d6c
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@
- [#469](https://github.com/estruyf/vscode-front-matter/issues/469): Fix for using the root folder as content folder
- [#470](https://github.com/estruyf/vscode-front-matter/issues/470): Fix `initialize project` dashboard description
- [#482](https://github.com/estruyf/vscode-front-matter/issues/482): Update the description when you want to overwrite the default content type description
- [#493](https://github.com/estruyf/vscode-front-matter/issues/493): Fix an issue where a custom placeholder value is replaced by an `array` instead of a `string`
## [8.2.0] - 2022-12-08 - [Release notes](https://beta.frontmatter.codes/updates/v8.2.0)
+3 -1
View File
@@ -460,7 +460,9 @@ export class ArticleHelper {
// Do nothing
}
} else {
output = output.split("\n");
if (output.includes("\n")) {
output = output.split("\n");
}
}
placeHolderValue = output;