summaryrefslogtreecommitdiffstats
path: root/src/templatedString.ts
diff options
context:
space:
mode:
authorHO-COOH <42881734+HO-COOH@users.noreply.github.com>2021-05-29 18:20:50 +0800
committerGitHub <noreply@github.com>2021-05-29 12:20:50 +0200
commitaa21a82e8b7dca30e3650d164c6fcb3bb495b17e (patch)
tree8feec05acebe434c31fad0ae44ba718e197b18d7 /src/templatedString.ts
parent638cfe09c56b8e75cf3dfa77652f51312766bd36 (diff)
downloaddoxdocgen-aa21a82e8b7dca30e3650d164c6fcb3bb495b17e.tar.gz
fix indent not expanded in file comments (#236)
Diffstat (limited to 'src/templatedString.ts')
-rw-r--r--src/templatedString.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templatedString.ts b/src/templatedString.ts
index c397ad9..cdc40e0 100644
--- a/src/templatedString.ts
+++ b/src/templatedString.ts
@@ -80,5 +80,5 @@ export function getMultiTemplatedString(
for (const template of templates) {
original = original.replace(template.toReplace, template.with);
}
- return getEnvVars(original);
+ return getEnvVars(getIndentedTemplate(original));
}