From 2576546efc747257b4327d01fc628ad2ec993a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 10 May 2020 13:31:44 +0200 Subject: Add TODO about linewrapping. --- module/vcomponent/parse/component.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/vcomponent/parse') 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)) -- cgit v1.2.3