summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tissue/document.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tissue/document.scm b/tissue/document.scm
index ada72eb..ef3ca21 100644
--- a/tissue/document.scm
+++ b/tissue/document.scm
@@ -162,7 +162,7 @@ and further text, increase-termpos! must be called before indexing."
result snippet."
;; Remove blank lines from document text.
(string-join
- (remove (cut string-every char-set:whitespace <>)
+ (remove string-blank?
(string-split (document-text document)
#\newline))
"\n"))