aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/vcomponent/parse/component.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/vcomponent/parse/component.scm b/module/vcomponent/parse/component.scm
index 565c129d..bb397f21 100644
--- a/module/vcomponent/parse/component.scm
+++ b/module/vcomponent/parse/component.scm
@@ -20,6 +20,11 @@
(let ((line (string-trim-right line)))
(loop
(if (char=? #\space (string-ref line 0))
+ ;; Line Wrapping
+ ;; TODO if the line is split inside a unicode character
+ ;; then this produces multiple broken unicode characters.
+ ;; It could be solved by checking the start of the new line,
+ ;; and the tail of the old line for broken char
(cons (string-append (car done)
(string-drop line 1))
(cdr done))