]> birchwood-abbey.net Git - mit-scheme.git/commitdiff
Fix bug in `normalize-line-endings'.
authorArthur A. Gleckler <gnu@speechcode.com>
Mon, 10 Aug 2020 18:50:21 +0000 (11:50 -0700)
committerTaylor R Campbell <campbell+mit-scheme@mumble.net>
Thu, 31 Dec 2020 18:29:17 +0000 (18:29 +0000)
(cherry picked from commit 6799b79a99f7d4e0e6c1c549cdf047f0cc832717)

src/xml/xml-parser.scm

index b1eabf834114ba04da7dd63e3cb449dd480f09e4..77c1198352232e65f5fe314fcc42b623ff0adda6 100644 (file)
@@ -901,7 +901,7 @@ USA.
                      (builder #\newline)
                      (builder (string-slice string start index))
                      (loop (step-over-eol index)))
-                   (builder (string-slice string start index)))))
+                   (builder (string-slice string start)))))
            (builder))))
       (if (if (default-object? always-copy?) #f always-copy?)
          (string-copy string)