aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/StructuredFormatService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/StructuredFormatService.kt')
-rw-r--r--src/Formats/StructuredFormatService.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 4285f8c9..5287e688 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -58,6 +58,9 @@ public abstract class StructuredFormatService(val locationService: LocationServi
is ContentParagraph -> {
appendText(this, formatText(location, content.children))
}
+ is ContentBlockCode -> {
+ appendBlockCode(this, formatText(location, content.children))
+ }
else -> append(formatText(location, content.children))
}
}.toString()