aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Formats/StructuredFormatService.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 8d817b19..794b0990 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -214,7 +214,9 @@ public abstract class StructuredFormatService(locationService: LocationService,
formatText(location, signatureAsCode)
}
signatureTexts.subList(0, signatureTexts.size()-1).forEach {
- appendLine(to, it)
+ appendAsSignature(to) {
+ appendLine(to, it)
+ }
}
appendAsSignature(to) {
to.append(signatureTexts.last())