diff options
author | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-04 11:18:52 -0700 |
---|---|---|
committer | Fredrik Salomonsson <plattfot@gmail.com> | 2020-05-04 11:18:52 -0700 |
commit | 4b55dea9b1d00a5ea1a4dad08d1d70feb81d7f2d (patch) | |
tree | 001e5c82907576d86fcf1dcf02324877343a07a1 | |
parent | c7b00f13c3cddc452f102ebbd0a98946e6fd76df (diff) | |
download | pinentry-rofi-4b55dea9b1d00a5ea1a4dad08d1d70feb81d7f2d.tar.gz |
Replace %0A with instead of \\\\n (#4)
This should fix the newline issue.
Thanks to @n0emis for pointing this out.
-rwxr-xr-x | pinentry-rofi.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pinentry-rofi.scm b/pinentry-rofi.scm index 88e2162..8dcfb09 100755 --- a/pinentry-rofi.scm +++ b/pinentry-rofi.scm @@ -60,8 +60,8 @@ (string=? str "")) (define (html-newline str) - "Replace \\\\n with " - (regexp-substitute/global #f "\\\\n" str 'pre " " 'post)) + "Replace %0A with " + (regexp-substitute/global #f "%0A" str 'pre " " 'post)) (define (html-< str) "Replace < with <" |