]> git.donarmstrong.com Git - lilypond.git/commitdiff
(grob-cause): escape spaces in URLs.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Aug 2005 20:19:06 +0000 (20:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Aug 2005 20:19:06 +0000 (20:19 +0000)
scm/lily-library.scm
scm/output-ps.scm

index f450731052159f94d439b017896a9b8f2b347d4f..c16acc56f2a1f6b15897e849b3d369845f49c581 100644 (file)
@@ -364,7 +364,6 @@ possibly turned off."
 (define-public (string-regexp-substitute a b str)
   (regexp-substitute/global #f a str 'pre b 'post)) 
 
-
 (define (regexp-split str regex)
   (define matches '())
   (define end-of-prev-match 0)
index 7a8612264bc66e5772c34ed1533b28f5b94698ab..e0bd54d9240c8a682109cbda33c8acc3815f2cc3 100644 (file)
 
                      ;; TODO
                      ;; full escaping.
-                     (re-sub " " "%20" file)
+                     (string-regexp-substitute " " "%20" file)
                      (cadr location)
                      (caddr location)
                      (cadddr location))