From 5332df82bb334168c183261134a3e3a69c43081c Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Mon, 23 Jun 2025 12:22:20 +0000 Subject: [PATCH] docread: Only strip one space from doc-comments Change-Id: I6a6a6964c4d68142cad0129233c83fde548f0d7f --- docs/docread/docread.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docread/docread.scm b/docs/docread/docread.scm index 00d06b7..5932886 100644 --- a/docs/docread/docread.scm +++ b/docs/docread/docread.scm @@ -16,7 +16,7 @@ (irregex-replace/all ; Written weirdly to avoid the regexp catching itself. ; TODO(puck): only apply at the start of lines? - (string->irregex ";{2,} *([^\\n]*)" 'm) + (string->irregex ";{2,} ?([^\\n]*)" 'm) (get-output-string str-out) ;; TODO: do we need the space here? this could also be a reader macro instead.