summaryrefslogtreecommitdiffstats
path: root/src/Lang/Cpp
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/Lang/Cpp
parent638cfe09c56b8e75cf3dfa77652f51312766bd36 (diff)
downloaddoxdocgen-aa21a82e8b7dca30e3650d164c6fcb3bb495b17e.tar.gz
fix indent not expanded in file comments (#236)
Diffstat (limited to 'src/Lang/Cpp')
-rw-r--r--src/Lang/Cpp/CppDocGen.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lang/Cpp/CppDocGen.ts b/src/Lang/Cpp/CppDocGen.ts
index c0113ad..022b372 100644
--- a/src/Lang/Cpp/CppDocGen.ts
+++ b/src/Lang/Cpp/CppDocGen.ts
@@ -250,7 +250,7 @@ export class CppDocGen implements IDocGen {
protected generateVersionTag(lines: string[]) {
if (this.cfg.File.versionTag.trim().length !== 0) {
- lines.push(...this.cfg.File.versionTag.split("\n"));
+ lines.push(...templates.getIndentedTemplate(this.cfg.File.versionTag).split("\n"));
}
}