From 893010c4a9ce4512bfd5483e723f64f99e304112 Mon Sep 17 00:00:00 2001 From: Christoph Wagner Date: Thu, 30 Oct 2025 12:31:28 +0100 Subject: [PATCH] fix paragraph splitting regex for windows --- private_includes/base/default_songinfo_style.ily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private_includes/base/default_songinfo_style.ily b/private_includes/base/default_songinfo_style.ily index 7cde305..cd7abf4 100644 --- a/private_includes/base/default_songinfo_style.ily +++ b/private_includes/base/default_songinfo_style.ily @@ -52,7 +52,7 @@ (lambda (paragraph) (make-wordwrap-internal-markup-list #t #{ \markuplist { $(ly:parser-include-string paragraph) } #})) - (ly:regex-split (ly:make-regex "\n[ \t\n]*\n[ \t\n]*") (string-append prefix text)))) + (ly:regex-split (ly:make-regex "\r?\n[ \t\r\n]*\n[ \t\r\n]*") (string-append prefix text)))) '()))) (poet-and-composer-markup-list (string-with-paragraphs->markuplist "" (string-append